summaryrefslogtreecommitdiff
path: root/server/src/method
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-19 13:25:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-19 13:25:16 +0800
commit3400b54cca23a5440502897fd848dd01684d021b (patch)
tree33e61542f25ee2132b628ad2abb06e788fca5151 /server/src/method
parent21f5a489430b04caee6cdc4b62f34bc3ca884181 (diff)
downloadlua-language-server-3400b54cca23a5440502897fd848dd01684d021b.zip
找局部变量
Diffstat (limited to 'server/src/method')
-rw-r--r--server/src/method/textDocument/completion.lua50
1 files changed, 25 insertions, 25 deletions
diff --git a/server/src/method/textDocument/completion.lua b/server/src/method/textDocument/completion.lua
index 9b040f17..2e03882e 100644
--- a/server/src/method/textDocument/completion.lua
+++ b/server/src/method/textDocument/completion.lua
@@ -1,29 +1,29 @@
local CompletionItemKind = {
- Text = 1,
- Method = 2,
- Function = 3,
- Constructor = 4,
- Field = 5,
- Variable = 6,
- Class = 7,
- Interface = 8,
- Module = 9,
- Property = 10,
- Unit = 11,
- Value = 12,
- Enum = 13,
- Keyword = 14,
- Snippet = 15,
- Color = 16,
- File = 17,
- Reference = 18,
- Folder = 19,
- EnumMember = 20,
- Constant = 21,
- Struct = 22,
- Event = 23,
- Operator = 24,
- TypeParameter = 25,
+ Text = 1,
+ Method = 2,
+ Function = 3,
+ Constructor = 4,
+ Field = 5,
+ Variable = 6,
+ Class = 7,
+ Interface = 8,
+ Module = 9,
+ Property = 10,
+ Unit = 11,
+ Value = 12,
+ Enum = 13,
+ Keyword = 14,
+ Snippet = 15,
+ Color = 16,
+ File = 17,
+ Reference = 18,
+ Folder = 19,
+ EnumMember = 20,
+ Constant = 21,
+ Struct = 22,
+ Event = 23,
+ Operator = 24,
+ TypeParameter = 25,
}
return function (lsp, params)