diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-16 11:07:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-16 11:07:03 +0800 |
commit | 4e23000383857307e33ec255fe71e2e020413615 (patch) | |
tree | 53d689987cde76577b3a04da3283b24797daf130 /test-beta/diagnostics/init.lua | |
parent | 6576326add050eb308249c69f9f5ee42d788d72f (diff) | |
download | lua-language-server-4e23000383857307e33ec255fe71e2e020413615.zip |
未使用的函数不检查全局函数(有可能导出给外部使用了)
Diffstat (limited to 'test-beta/diagnostics/init.lua')
-rw-r--r-- | test-beta/diagnostics/init.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test-beta/diagnostics/init.lua b/test-beta/diagnostics/init.lua index e32ef275..579a132b 100644 --- a/test-beta/diagnostics/init.lua +++ b/test-beta/diagnostics/init.lua @@ -332,13 +332,13 @@ TEST [[ <!local function f() end!> ]] -TEST [[ -F = <!function () end!> -]] - -TEST [[ -<!function F() end!> -]] +--TEST [[ +--F = <!function () end!> +--]] +-- +--TEST [[ +--<!function F() end!> +--]] config.config.diagnostics.disable['unused-local'] = false config.config.diagnostics.disable['unused-function'] = true |