summaryrefslogtreecommitdiff
path: root/script/plugins
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2023-06-02 09:14:18 +0800
committerfesily <fesil@foxmail.com>2023-06-02 09:14:18 +0800
commit3dc04fc94e0f42037318dad291c884fc8e058461 (patch)
tree6e1861305357b16f70b58ff9d25765b3152d380e /script/plugins
parent7e895e9f9e9d81b6e78400976b5148a3d106dc74 (diff)
downloadlua-language-server-3dc04fc94e0f42037318dad291c884fc8e058461.zip
ci:fix ffi test error
Diffstat (limited to 'script/plugins')
-rw-r--r--script/plugins/ffi/cdefRerence.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugins/ffi/cdefRerence.lua b/script/plugins/ffi/cdefRerence.lua
index 14643f0f..54a8c2a7 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) and find(uri, "lua-language-server", 0, true) then
+ if find(uri, "ffi.lua", 0, true) and find(uri, "meta", 0, true) then
ffi_state = files.getState(uri)
break
end