small refactor to lsp.lua (lsp/setup.lua), rename lsp/language_servers

-> lsp/servers. utils now has a function for "get_file_names_in_dir"
This commit is contained in:
Martin Larsson 2025-01-11 18:01:15 +01:00
parent fc08128c55
commit b7796e9a5e
6 changed files with 22 additions and 14 deletions

View file

@ -1,14 +0,0 @@
return {
cmd = { "cmake-language-server" },
filetypes = { "cmake" },
root_markers = {
"CMakeLists.txt",
"CMakePresets.json",
"CTestConfig.cmake",
"build",
"cmake",
},
init_options = {
buildDirectory = "build",
},
}