Skip to content

Commit

Permalink
remove lua_ls conf in favor of lazydev.nvim
Browse files Browse the repository at this point in the history
The removed settings are already set by lazydev.nvim.
  • Loading branch information
jdhao committed Aug 15, 2024
1 parent 659f410 commit d90273d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions lua/config/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -230,22 +230,6 @@ if utils.executable("lua-language-server") then
-- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
version = "LuaJIT",
},
diagnostics = {
-- Get the language server to recognize the `vim` global
globals = { "vim" },
},
workspace = {
-- Make the server aware of Neovim runtime files,
-- see also https://luals.github.io/wiki/settings/#workspacelibrary
library = {
vim.env.VIMRUNTIME,
fn.stdpath("config"),
-- make lua_ls aware of functions under vim.uv
"${3rd}/luv/library"
},
maxPreload = 2000,
preloadFileSize = 50000,
},
},
},
capabilities = capabilities,
Expand Down

0 comments on commit d90273d

Please sign in to comment.