summaryrefslogtreecommitdiff
path: root/server/src/constant/DiagnosticSeverity.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-05-14 11:02:48 +0800
committersumneko <sumneko@hotmail.com>2019-05-14 11:02:48 +0800
commit91df1468e72dff445539e868048285840efc4a9e (patch)
treea8865cfc32affeb534c68493359b9bdf4d5e3cd5 /server/src/constant/DiagnosticSeverity.lua
parentefb8c6f705a940831fbdb8b7246ba6206ddf9220 (diff)
downloadlua-language-server-91df1468e72dff445539e868048285840efc4a9e.zip
#13 诊断等级的配置
Diffstat (limited to 'server/src/constant/DiagnosticSeverity.lua')
-rw-r--r--server/src/constant/DiagnosticSeverity.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/constant/DiagnosticSeverity.lua b/server/src/constant/DiagnosticSeverity.lua
new file mode 100644
index 00000000..05bd3659
--- /dev/null
+++ b/server/src/constant/DiagnosticSeverity.lua
@@ -0,0 +1,6 @@
+return {
+ Error = 1,
+ Warning = 2,
+ Information = 3,
+ Hint = 4,
+}