diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-10 09:37:56 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-10 09:37:56 +0800 |
commit | 43c7d8c95e07c4dabdcf132020c21bc60024d06e (patch) | |
tree | 18bc929c1d8cb78eb6d7f064920df3bb286ec3ae /server | |
parent | 32f431765faaddb1920f1ef4be82ea3e5ed6683c (diff) | |
download | lua-language-server-43c7d8c95e07c4dabdcf132020c21bc60024d06e.zip |
修改一些信息等级
Diffstat (limited to 'server')
-rw-r--r-- | server/src/matcher/diagnostics.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/matcher/diagnostics.lua b/server/src/matcher/diagnostics.lua index 0ec84c9f..0a4c149f 100644 --- a/server/src/matcher/diagnostics.lua +++ b/server/src/matcher/diagnostics.lua @@ -143,7 +143,7 @@ return function (ast, results, lines, uri) datas[#datas+1] = { start = start, finish = finish, - level = 'Warning', + level = 'Information', message = ('Unused local `%s`'):format(key), -- LOCALE } end) @@ -161,7 +161,7 @@ return function (ast, results, lines, uri) datas[#datas+1] = { start = start, finish = finish, - level = 'Warning', + level = 'Information', message = ('Unused label `%s`'):format(key), -- LOCALE } end) @@ -170,7 +170,7 @@ return function (ast, results, lines, uri) datas[#datas+1] = { start = start, finish = finish, - level = 'Warning', + level = 'Information', message = message, } end) |