chore(nvim): remove luals
parent
f19bfaec9a
commit
779ce40080
|
@ -390,9 +390,10 @@ require("lazy").setup({
|
|||
"go",
|
||||
"json",
|
||||
"lua",
|
||||
"proto",
|
||||
"sql",
|
||||
"toml",
|
||||
"yaml",
|
||||
"proto",
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
@ -459,29 +460,6 @@ require("lazy").setup({
|
|||
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bufls
|
||||
lspconfig.bufls.setup({})
|
||||
|
||||
-- Lua
|
||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#lua_ls
|
||||
lspconfig.lua_ls.setup({
|
||||
settings = {
|
||||
Lua = {
|
||||
runtime = {
|
||||
version = "LuaJIT",
|
||||
},
|
||||
diagnostics = {
|
||||
globals = { "vim" },
|
||||
},
|
||||
format = {
|
||||
-- Prefer Neoformat with stylua
|
||||
enable = false,
|
||||
},
|
||||
workspace = {
|
||||
library = vim.api.nvim_get_runtime_file("", true),
|
||||
checkThirdParty = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- General
|
||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
|
||||
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)
|
||||
|
|
Loading…
Reference in New Issue