diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-04 18:40:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-04 18:40:55 +0800 |
commit | 0730e556fc224cd18318a548d8eca5e75ae2b76e (patch) | |
tree | 87cbd3fc4f4f0d1f18bf22e59033726a9b7e9fe8 /script/provider/capability.lua | |
parent | b021a261036690d354b56451ada1d22144b1950b (diff) | |
download | lua-language-server-0730e556fc224cd18318a548d8eca5e75ae2b76e.zip |
first try of auto end
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r-- | script/provider/capability.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua index a6195ebb..08b4779a 100644 --- a/script/provider/capability.lua +++ b/script/provider/capability.lua @@ -82,6 +82,10 @@ function m.getIniter() }, }, foldingRangeProvider = true, + documentOnTypeFormattingProvider = { + firstTriggerCharacter = '\n', + moreTriggerCharacter = nil, -- string[] + }, workspace = {} --documentOnTypeFormattingProvider = { -- firstTriggerCharacter = '}', |