diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 19:52:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-11-23 19:52:57 +0800 |
commit | d86c2c46e8985da8899ae77d4c6f54f5b902cd71 (patch) | |
tree | 7d4adab36450f59cd3e9456086614120176731fc /meta/3rd/lfs | |
parent | b18329cea47f2de9c50abefecaccf248c16aa398 (diff) | |
download | lua-language-server-d86c2c46e8985da8899ae77d4c6f54f5b902cd71.zip |
change `config.lua` to `config,json`
#1607
Diffstat (limited to 'meta/3rd/lfs')
-rw-r--r-- | meta/3rd/lfs/config.json | 9 | ||||
-rw-r--r-- | meta/3rd/lfs/config.lua | 7 |
2 files changed, 9 insertions, 7 deletions
diff --git a/meta/3rd/lfs/config.json b/meta/3rd/lfs/config.json new file mode 100644 index 00000000..3784f0c9 --- /dev/null +++ b/meta/3rd/lfs/config.json @@ -0,0 +1,9 @@ +{ + "name" : "luafilesystem", + "words" : [ "require[%s%(\"']+lfs[%)\"']" ], + "config" : { + "Lua.diagnostics.globals" : [ + "lfs" + ] + } +} diff --git a/meta/3rd/lfs/config.lua b/meta/3rd/lfs/config.lua deleted file mode 100644 index b9e32610..00000000 --- a/meta/3rd/lfs/config.lua +++ /dev/null @@ -1,7 +0,0 @@ -name = 'luafilesystem' -words = { 'require[%s%(\"\']+lfs[%)\"\']' } -config = { - ["Lua.diagnostics.globals"] = { - "lfs", - }, -} |