diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-07 17:16:00 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-07 17:16:00 +0800 |
commit | ae1a194b7a1f17920908cceecd2dfdaa24f70915 (patch) | |
tree | 1fcd7033d459efc33454a8d9ee89dfb179265206 | |
parent | 1b50c6fad6a64fa031cb4a34f8873516244ac3db (diff) | |
download | lua-language-server-ae1a194b7a1f17920908cceecd2dfdaa24f70915.zip |
`insertTextFormat` always use 2
-rw-r--r-- | script/provider/provider.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 5d7bc6c2..66d8cca3 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -371,7 +371,7 @@ proto.on('textDocument/completion', function (params) deprecated = res.deprecated, sortText = ('%04d'):format(i), insertText = res.insertText, - insertTextFormat = res.insertTextFormat, + insertTextFormat = 2, commitCharacters = res.commitCharacters, command = res.command, textEdit = res.textEdit and { |