diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-17 18:15:13 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-17 18:15:13 +0800 |
commit | 166504aa87a5b2f7fe6bd41b2c572afccb717534 (patch) | |
tree | 5a61486aca3e1a98a4eeceed13e3ac583d0894eb /script/core/diagnostics/init.lua | |
parent | 6431519640a087499ea497066a78a6079993b945 (diff) | |
download | lua-language-server-166504aa87a5b2f7fe6bd41b2c572afccb717534.zip |
update
Diffstat (limited to 'script/core/diagnostics/init.lua')
-rw-r--r-- | script/core/diagnostics/init.lua | 13 |
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 = {} |