feat(lsp): Move LSP config for godot and rust for 0.11

This commit is contained in:
2025-04-01 23:37:18 +02:00
parent 2cc2998907
commit 8460677953
3 changed files with 39 additions and 32 deletions

21
lsp/rust-analyzer.lua Normal file
View File

@ -0,0 +1,21 @@
return {
cmd = { 'rust-analyzer' },
filetypes = { 'rust' },
root_markers = { '.git', 'cargo.toml' },
settings = {
imports = {
granularity = {
group = "module",
},
prefix = "self",
},
cargo = {
buildScripts = {
enable = true,
},
},
procMacro = {
enable = true
},
}
}