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
14
home/.config/nvim/lua/language_servers/cmake.lua
Normal file
14
home/.config/nvim/lua/language_servers/cmake.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
cmd = { "cmake-language-server" },
|
||||
filetypes = { "cmake" },
|
||||
root_markers = {
|
||||
"CMakeLists.txt",
|
||||
"CMakePresets.json",
|
||||
"CTestConfig.cmake",
|
||||
"build",
|
||||
"cmake",
|
||||
},
|
||||
init_options = {
|
||||
buildDirectory = "build",
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue