summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-17 18:15:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-17 18:15:13 +0800
commit166504aa87a5b2f7fe6bd41b2c572afccb717534 (patch)
tree5a61486aca3e1a98a4eeceed13e3ac583d0894eb /script/core/diagnostics/init.lua
parent6431519640a087499ea497066a78a6079993b945 (diff)
downloadlua-language-server-166504aa87a5b2f7fe6bd41b2c572afccb717534.zip
update
Diffstat (limited to 'script/core/diagnostics/init.lua')
-rw-r--r--script/core/diagnostics/init.lua13
1 files changed, 7 insertions, 6 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua
index e9af8ea3..746052b0 100644
--- a/script/core/diagnostics/init.lua
+++ b/script/core/diagnostics/init.lua
@@ -7,12 +7,13 @@ local util = require 'utility'
-- 把耗时最长的诊断放到最后面
local diagSort = {
- ['redundant-value'] = 100,
- ['not-yieldable'] = 101,
- ['deprecated'] = 102,
- ['undefined-field'] = 103,
- ['redundant-parameter'] = 104,
- ['cast-local-type'] = 105,
+ ['redundant-value'] = 100,
+ ['not-yieldable'] = 101,
+ ['deprecated'] = 102,
+ ['undefined-field'] = 103,
+ ['redundant-parameter'] = 104,
+ ['cast-local-type'] = 105,
+ ['assign-type-mismatch'] = 106,
}
local diagList = {}