Skip to content

Commit

Permalink
[vim] better lua lsp builtin completion
Browse files Browse the repository at this point in the history
  • Loading branch information
antonk52 committed May 28, 2024
1 parent 417ff04 commit d71855b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nvim/lua/antonk52/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,13 @@ M.servers = {
},
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file('', true),
library = vim.list_extend(vim.api.nvim_get_runtime_file('', true), {
'lua',
'nvim-test',
'${3rd}/busted/library',
'${3rd}/luaassert/library',
'${3rd}/luv/library',
}),
maxPreload = 10000,
checkThirdParty = 'Disable',
},
Expand Down

0 comments on commit d71855b

Please sign in to comment.