diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-30 16:46:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-31 17:57:25 +0800 |
commit | a4684bbbf7e1f5a79c9ea0fda31e139afc797696 (patch) | |
tree | f02e3cd3e859903467af8d7d8820907c4db5cd85 /script/provider/capability.lua | |
parent | 72743649f17f891a367fecb9a161fd7e264ddf24 (diff) | |
download | lua-language-server-a4684bbbf7e1f5a79c9ea0fda31e139afc797696.zip |
show `refactor` in menu
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r-- | script/provider/capability.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua index e50a40f0..b10435c3 100644 --- a/script/provider/capability.lua +++ b/script/provider/capability.lua @@ -32,7 +32,15 @@ function m.getIniter() documentSymbolProvider = true, workspaceSymbolProvider = true, documentHighlightProvider = true, - codeActionProvider = true, + codeActionProvider = { + codeActionKinds = { + '', + 'quickfix', + 'refactor.rewrite', + 'refactor.extract', + }, + resolveProvider = false, + }, signatureHelpProvider = { triggerCharacters = { '(', ',' }, }, |