Updated config

This commit is contained in:
Eduard Urbach 2025-06-11 17:38:25 +02:00
parent 7085c0afa9
commit 7547ef0ff1
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
11 changed files with 127 additions and 6 deletions

View file

@ -1,5 +1,5 @@
return {
cmd = { "clangd", "--background-index" },
root_markers = { "meson_options.txt", "CMakePresets.json", "compile_commands.json" },
root_markers = { "meson_options.txt", "CMakePresets.json", "compile_commands.json", ".git" },
filetypes = { "c", "cpp" },
}

View file

@ -1,5 +1,5 @@
return {
cmd = { "gopls" },
root_markers = { "go.mod", "go.work" },
root_markers = { "go.mod", "go.work", ".git" },
filetypes = { "go", "gomod", "gowork", "gotmpl" },
}

View file

@ -0,0 +1,15 @@
return {
cmd = { "lua-language-server" },
filetypes = { "lua" },
root_markers = { "stylua.toml", "init.lua", ".git" },
settings = {
Lua = {
runtime = { version = "LuaJIT" },
workspace = {
checkThirdParty = false,
library = vim.api.nvim_get_runtime_file("", true),
},
telemetry = { enable = false }
}
}
}

View file

@ -1,5 +1,5 @@
return {
cmd = { "rust-analyzer" },
root_markers = { "Cargo.toml" },
root_markers = { "Cargo.toml", ".git" },
filetypes = { "rust" },
}