diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-05 22:25:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-05 22:25:39 +0800 |
commit | d940791c73c5d2ebb8aec61a6532161bf9a06fe0 (patch) | |
tree | 698388e378efe0dd228f8248e45952b2a1622497 /script/core | |
parent | ce90f6591fd134d6773597f5da6af6c47fa520f2 (diff) | |
download | lua-language-server-d940791c73c5d2ebb8aec61a6532161bf9a06fe0.zip |
update diag sorts
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/diagnostics/init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua index 4368f51a..369a6ba2 100644 --- a/script/core/diagnostics/init.lua +++ b/script/core/diagnostics/init.lua @@ -6,8 +6,10 @@ local vm = require "vm.vm" -- 把耗时最长的诊断放到最后面 local diagSort = { - ['deprecated'] = 98, - ['undefined-field'] = 99, + ['redundant-value'] = 96, + ['not-yieldable'] = 97, + ['deprecated'] = 98, + ['undefined-field'] = 99, ['redundant-parameter'] = 100, } |