summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2022-01-24 15:14:15 +0800
committerCppCXY <812125110@qq.com>2022-01-24 15:14:15 +0800
commit38adf62e8dec279ef76073a807989dd8b7669afc (patch)
treeca3a9a55d1fcfe5d7a5c4eb49975d2a944739a43 /test
parentc8d9a8966b41288ff8a3e3fdf9e89bb1a1aee167 (diff)
downloadlua-language-server-38adf62e8dec279ef76073a807989dd8b7669afc.zip
提供代码风格诊断
Diffstat (limited to 'test')
-rw-r--r--test/crossfile/diagnostic.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/crossfile/diagnostic.lua b/test/crossfile/diagnostic.lua
index 43028744..dd06351f 100644
--- a/test/crossfile/diagnostic.lua
+++ b/test/crossfile/diagnostic.lua
@@ -5,8 +5,10 @@ local config = require 'config'
local platform = require 'bee.platform'
local catch = require 'catch'
+
config.get(nil, 'Lua.diagnostics.neededFileStatus')['deprecated'] = 'Any'
config.get(nil, 'Lua.diagnostics.neededFileStatus')['type-check'] = 'Any'
+config.get(nil, 'Lua.diagnostics.neededFileStatus')['codestyle-check'] = 'None'
rawset(_G, 'TEST', true)