diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-15 12:35:01 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-15 12:35:01 +0800 |
commit | a7f2d6fcc71a33db60cf759ffc79fdc711aaee30 (patch) | |
tree | 17c61f04db05351af2117df84e171d985afc4961 /server/src/method/initialize.lua | |
parent | d3b7320f385b9f31b29978258657293e314babd5 (diff) | |
download | lua-language-server-a7f2d6fcc71a33db60cf759ffc79fdc711aaee30.zip |
VSCode默认关闭输入时格式化功能,所以这个功能先搁置。以后考虑帮用户修改工作区设置?
Diffstat (limited to 'server/src/method/initialize.lua')
-rw-r--r-- | server/src/method/initialize.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/method/initialize.lua b/server/src/method/initialize.lua index e7c48545..930ff75e 100644 --- a/server/src/method/initialize.lua +++ b/server/src/method/initialize.lua @@ -39,6 +39,9 @@ return function (lsp) changeNotifications = true, } }, + documentOnTypeFormattingProvider = { + firstTriggerCharacter = '}', + }, executeCommandProvider = { commands = { 'config', |