diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-05 21:30:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-05 21:30:04 +0800 |
commit | 30a88ee1b1f60e657393a16e55cddae9cb01a62a (patch) | |
tree | 4b4accb4c91151a1e0813562714063eedd6aacd9 /server-beta/test/diagnostics | |
parent | 511be388f88af275d2c1ac6bef0c8964a376b427 (diff) | |
download | lua-language-server-30a88ee1b1f60e657393a16e55cddae9cb01a62a.zip |
整理代码
Diffstat (limited to 'server-beta/test/diagnostics')
-rw-r--r-- | server-beta/test/diagnostics/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server-beta/test/diagnostics/init.lua b/server-beta/test/diagnostics/init.lua index d8724375..430ead8d 100644 --- a/server-beta/test/diagnostics/init.lua +++ b/server-beta/test/diagnostics/init.lua @@ -262,6 +262,13 @@ return [[ ]] ]=] +TEST [[ +local t = {} +<!function t:x() +end!> +return t +]] + config.config.diagnostics.disable['unused-function'] = true TEST [[ local mt, x |