chore(nvim): remove luals
parent
f19bfaec9a
commit
779ce40080
|
@ -390,9 +390,10 @@ require("lazy").setup({
|
||||||
"go",
|
"go",
|
||||||
"json",
|
"json",
|
||||||
"lua",
|
"lua",
|
||||||
|
"proto",
|
||||||
|
"sql",
|
||||||
"toml",
|
"toml",
|
||||||
"yaml",
|
"yaml",
|
||||||
"proto",
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
@ -459,29 +460,6 @@ require("lazy").setup({
|
||||||
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bufls
|
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bufls
|
||||||
lspconfig.bufls.setup({})
|
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
|
-- General
|
||||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
|
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
|
||||||
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)
|
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)
|
||||||
|
|
Loading…
Reference in New Issue