summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/lspconfig.lua10
1 files changed, 8 insertions, 2 deletions
diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua
index 1768ea3..219e3ca 100644
--- a/lua/plugins/lspconfig.lua
+++ b/lua/plugins/lspconfig.lua
@@ -12,11 +12,17 @@ local servers = {
},
-- jedi_language_server = {},
pyright = {},
- -- probably will need fixing by checking https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#lua_ls
lua_ls = {
Lua = {
- workspace = { checkThirdParty = false },
telemetry = { enable = false },
+ workspace = {
+ checkThirdParty = false,
+ library = {
+ vim.env.VIMRUNTIME,
+ -- need to check if there is a better directory
+ os.getenv('HOME') .. '/.local/lib/lua',
+ }
+ },
},
}
}