We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eeb4f4d + a3dd298 commit 3a39d06Copy full SHA for 3a39d06
script/provider/provider.lua
@@ -661,7 +661,7 @@ m.register 'textDocument/completion' {
661
sortText = res.sortText or ('%04d'):format(i),
662
filterText = res.filterText,
663
insertText = res.insertText,
664
- insertTextFormat = 2,
+ insertTextFormat = res.insertTextFormat or 1,
665
commitCharacters = res.commitCharacters,
666
command = res.command,
667
textEdit = res.textEdit and {
0 commit comments