summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-05-11 11:32:12 +0800
committerGitHub <noreply@github.com>2023-05-11 11:32:12 +0800
commitb422860aedb390744a566063991d57ccc829deb2 (patch)
tree07c8b91a0657e6e39d68778f230abbf3d2c4a489 /script/proto/diagnostic.lua
parent7318bbba9808b94c59202d301ac4faf4dc7f1f5a (diff)
parent6a81d83e80db51e8e2736074bd6f0039e898b6c4 (diff)
downloadlua-language-server-b422860aedb390744a566063991d57ccc829deb2.zip
Merge pull request #2091 from CppCXY/master
name-style-check support
Diffstat (limited to 'script/proto/diagnostic.lua')
-rw-r--r--script/proto/diagnostic.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua
index 34f3646f..bd10b7f7 100644
--- a/script/proto/diagnostic.lua
+++ b/script/proto/diagnostic.lua
@@ -126,6 +126,14 @@ m.register {
}
m.register {
+ 'name-style-check'
+} {
+ group = 'codestyle',
+ severity = 'Warning',
+ status = 'None',
+}
+
+m.register {
'newline-call',
'newfield-call',
'ambiguity-1',