diff options
Diffstat (limited to 'lsp/lua_ls.lua')
| -rw-r--r-- | lsp/lua_ls.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lsp/lua_ls.lua b/lsp/lua_ls.lua index 6f9aaa84..d7a1821a 100644 --- a/lsp/lua_ls.lua +++ b/lsp/lua_ls.lua @@ -29,7 +29,13 @@ --- runtime = { --- -- Tell the language server which version of Lua you're using (most --- -- likely LuaJIT in the case of Neovim) ---- version = 'LuaJIT' +--- version = 'LuaJIT', +--- -- Tell the language server how to find Lua modules same way as Neovim +--- -- (see `:h lua-module-load`) +--- path = { +--- 'lua/?.lua', +--- 'lua/?/init.lua', +--- }, --- }, --- -- Make the server aware of Neovim runtime files --- workspace = { |
