Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inconsistency in indent adjustment behavior when completing
There is a small inconsistency when we're dealing with a text edit and the text edit is not a snippet. In that case, if the new text of the completion contained newlines, the subsequent line would not be "auto-indented". Whereas with the three other possible cases, it would be auto-indented. That is because the other three cases use the "insert" and "insert_snippet" commands, whereas with this special case we were using the view.insert method.
- Loading branch information
Showing
2 changed files
with
50 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters