mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
remove lua_ls conf in favor of lazydev.nvim
The removed settings are already set by lazydev.nvim.
This commit is contained in:
parent
659f410b9e
commit
d90273df8e
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user