summaryrefslogtreecommitdiff
path: root/script/core/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-06-16 22:37:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-06-16 22:37:52 +0800
commit814d7dfccb1ecfbd887af40f4df951fbdecb12ac (patch)
treee3dd6bd45b296cc4715f939c1b15e26db3e320ec /script/core/diagnostics/init.lua
parenta1f966af7db434c5dc7b2423ae63f4fe21957b46 (diff)
downloadlua-language-server-814d7dfccb1ecfbd887af40f4df951fbdecb12ac.zip
small fix
Diffstat (limited to 'script/core/diagnostics/init.lua')
-rw-r--r--script/core/diagnostics/init.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua
index a2eb2482..e9af8ea3 100644
--- a/script/core/diagnostics/init.lua
+++ b/script/core/diagnostics/init.lua
@@ -7,11 +7,12 @@ local util = require 'utility'
-- 把耗时最长的诊断放到最后面
local diagSort = {
- ['redundant-value'] = 96,
- ['not-yieldable'] = 97,
- ['deprecated'] = 98,
- ['undefined-field'] = 99,
- ['redundant-parameter'] = 100,
+ ['redundant-value'] = 100,
+ ['not-yieldable'] = 101,
+ ['deprecated'] = 102,
+ ['undefined-field'] = 103,
+ ['redundant-parameter'] = 104,
+ ['cast-local-type'] = 105,
}
local diagList = {}