From ae1a194b7a1f17920908cceecd2dfdaa24f70915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 7 Dec 2020 17:16:00 +0800 Subject: `insertTextFormat` always use 2 --- script/provider/provider.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/provider') 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 { -- cgit v1.2.3