diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-10-23 11:13:27 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-10-23 11:13:27 +0800 |
commit | 848b20f92a6471f56d5b87b547128a533d0e2c37 (patch) | |
tree | 7ff7975f58a88380fb91a5e5cf9351fcccd70959 | |
parent | 5f71dbebfe0912b4db84b5452027e26c57a1efad (diff) | |
download | lua-language-server-848b20f92a6471f56d5b87b547128a533d0e2c37.zip |
set-const 诊断由编译器完成
-rw-r--r-- | script-beta/core/diagnostics/set-const.lua | 2 | ||||
-rw-r--r-- | script-beta/proto/define.lua | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/script-beta/core/diagnostics/set-const.lua b/script-beta/core/diagnostics/set-const.lua deleted file mode 100644 index 62a67b01..00000000 --- a/script-beta/core/diagnostics/set-const.lua +++ /dev/null @@ -1,2 +0,0 @@ -return function (uri, callback) -end diff --git a/script-beta/proto/define.lua b/script-beta/proto/define.lua index 5486733e..119314fb 100644 --- a/script-beta/proto/define.lua +++ b/script-beta/proto/define.lua @@ -129,7 +129,6 @@ m.DiagnosticDefaultSeverity = { ['duplicate-index'] = 'Warning', ['empty-block'] = 'Hint', ['redundant-value'] = 'Hint', - ['set-const'] = 'Error', ['duplicate-doc-class'] = 'Warning', } |