summaryrefslogtreecommitdiff
path: root/script/proto/define.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-05-28 01:39:13 +0800
committerGitHub <noreply@github.com>2022-05-28 01:39:13 +0800
commit6185d71449048178faa98e427db82675c70fc4a3 (patch)
treeccd5924ef27fc9db0088ad5d2ce6015257d5bebf /script/proto/define.lua
parente98a7d7d043f020ff6f21c6b977a3f64b31f6017 (diff)
parent6866310d167750dbe9fd3d2d319c654a10b3c15b (diff)
downloadlua-language-server-6185d71449048178faa98e427db82675c70fc4a3.zip
Merge pull request #1152 from CppCXY/master
spell checker
Diffstat (limited to 'script/proto/define.lua')
-rw-r--r--script/proto/define.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index d6e25052..52006992 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -61,7 +61,8 @@ m.DiagnosticDefaultSeverity = {
['duplicate-doc-field'] = 'Warning',
['unknown-diag-code'] = 'Warning',
- ['codestyle-check'] = "Warning",
+ ['codestyle-check'] = 'Warning',
+ ['spell-check'] = 'Information',
}
---@alias DiagnosticDefaultNeededFileStatus
@@ -123,6 +124,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['unknown-diag-code'] = 'Any',
['codestyle-check'] = 'None',
+ ['spell-check'] = 'None',
}
--- 诊断报告标签