diff options
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 |