diff options
| author | Maria José Solano <majosolano99@gmail.com> | 2024-02-24 22:43:36 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-25 14:43:36 +0800 |
| commit | eb89b1710efc8083ecfeb2334aa1a7999038531e (patch) | |
| tree | 9160893f51bb4522c782abbeefd27b30372e70db /lua/lspconfig/server_configurations/lua_ls.lua | |
| parent | fix(bqnlsp): do not override user provided `cmd_env` (#3026) (diff) | |
| download | nvim-lspconfig-eb89b1710efc8083ecfeb2334aa1a7999038531e.tar nvim-lspconfig-eb89b1710efc8083ecfeb2334aa1a7999038531e.tar.gz nvim-lspconfig-eb89b1710efc8083ecfeb2334aa1a7999038531e.tar.bz2 nvim-lspconfig-eb89b1710efc8083ecfeb2334aa1a7999038531e.tar.lz nvim-lspconfig-eb89b1710efc8083ecfeb2334aa1a7999038531e.tar.xz nvim-lspconfig-eb89b1710efc8083ecfeb2334aa1a7999038531e.tar.zst nvim-lspconfig-eb89b1710efc8083ecfeb2334aa1a7999038531e.zip | |
docs(lua_ls): add comment about additional libraries (#3029)
Diffstat (limited to 'lua/lspconfig/server_configurations/lua_ls.lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/lua_ls.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/lspconfig/server_configurations/lua_ls.lua b/lua/lspconfig/server_configurations/lua_ls.lua index dbba1d04..f730d713 100644 --- a/lua/lspconfig/server_configurations/lua_ls.lua +++ b/lua/lspconfig/server_configurations/lua_ls.lua @@ -59,6 +59,8 @@ require'lspconfig'.lua_ls.setup { checkThirdParty = false, library = { vim.env.VIMRUNTIME + -- Depending on the usage, you might want to add additional paths here. + -- E.g.: For using `vim.*` functions, add vim.env.VIMRUNTIME/lua. -- "${3rd}/luv/library" -- "${3rd}/busted/library", } |
