Skip to content

Commit 9864a16

Browse files
committed
chore: fix lua_ls local resolving
1 parent 4c3e5cd commit 9864a16

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.luarc.jsonc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@
3030
},
3131
"workspace": {
3232
"library": [
33+
//
34+
// Trigger loading our meta definition file "types.lua"
35+
// without this we get warnings about global "FzfLua"
36+
// also enables inter-module resolving and completion
37+
// i.e. defs/refs/impl for utils, libuv, shell, etc
38+
//
39+
// For more info:
40+
// https://luals.github.io/wiki/definition-files
41+
//
42+
"lua",
3343
"$VIMRUNTIME/lua",
3444
"${3rd}/luv/library",
3545
// For "cmp_src.lua" type resolving

0 commit comments

Comments
 (0)