summaryrefslogtreecommitdiff
path: root/server/src/constant
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-27 14:06:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-27 14:06:19 +0800
commita90fa730acdbd823e556dcbc66ab8a360650c290 (patch)
treed2a833f6fd46bebbef204f2d88f7dff40a900f7b /server/src/constant
parent1fd5d5954f1c95b97dd9c5ab1c4dabb714bd5003 (diff)
downloadlua-language-server-a90fa730acdbd823e556dcbc66ab8a360650c290.zip
诊断未使用的局部函数
Diffstat (limited to 'server/src/constant')
-rw-r--r--server/src/constant/DiagnosticDefaultSeverity.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/constant/DiagnosticDefaultSeverity.lua b/server/src/constant/DiagnosticDefaultSeverity.lua
index 33df37d8..3cd67528 100644
--- a/server/src/constant/DiagnosticDefaultSeverity.lua
+++ b/server/src/constant/DiagnosticDefaultSeverity.lua
@@ -1,5 +1,6 @@
return {
['unused-local'] = 'Hint',
+ ['unused-function'] = 'Hint',
['undefined-global'] = 'Warning',
['unused-label'] = 'Hint',
['unused-vararg'] = 'Hint',