diff options
author | fesily <fesil@foxmail.com> | 2023-05-25 15:52:12 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2023-05-25 15:52:12 +0800 |
commit | 622b1745973b409e16a9a0db5ed25a0548337e59 (patch) | |
tree | 8a44422de8a12481533705c471e3b0a86ae4fb2e /script/plugins/ffi/cdefRerence.lua | |
parent | 86916250304abc76b4b54486851f33ac12e64caf (diff) | |
download | lua-language-server-622b1745973b409e16a9a0db5ed25a0548337e59.zip |
command:add reloadFFIMeta
Diffstat (limited to 'script/plugins/ffi/cdefRerence.lua')
-rw-r--r-- | script/plugins/ffi/cdefRerence.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugins/ffi/cdefRerence.lua b/script/plugins/ffi/cdefRerence.lua index 819a0dd1..14643f0f 100644 --- a/script/plugins/ffi/cdefRerence.lua +++ b/script/plugins/ffi/cdefRerence.lua @@ -20,7 +20,7 @@ end return function () local ffi_state for uri in files.eachFile() do - if find(uri, "/ffi.lua", 0, true) then + if find(uri, "ffi.lua", 0, true) and find(uri, "lua-language-server", 0, true) then ffi_state = files.getState(uri) break end |