Major lsp overhaul. Use new 0.11+ apis, remove lspconfig, remove lots of
mason/lspconfig util plugins. Currently supports following lsps: gopls, clangd, lua-language-server, cmake-language-server
This commit is contained in:
parent
c2b6c481e4
commit
7e4f69c48f
9 changed files with 391 additions and 342 deletions
32
home/.config/nvim/lua/plugs/mason.lua
Normal file
32
home/.config/nvim/lua/plugs/mason.lua
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
return {
|
||||
"williamboman/mason.nvim",
|
||||
dependencies = { "WhoIsSethDaniel/mason-tool-installer.nvim" },
|
||||
config = function()
|
||||
require("mason").setup({})
|
||||
require("mason-tool-installer").setup({
|
||||
ensure_installed = {
|
||||
-- LLVM debugger
|
||||
"codelldb",
|
||||
|
||||
-- C and C++
|
||||
"clangd",
|
||||
"clang-format",
|
||||
|
||||
-- Rust
|
||||
"rust-analyzer",
|
||||
|
||||
-- Go
|
||||
"gopls",
|
||||
"golangci-lint",
|
||||
"delve",
|
||||
|
||||
-- Lua
|
||||
"lua-language-server",
|
||||
|
||||
-- CMake
|
||||
"cmake-language-server",
|
||||
"cmakelang",
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue