This commit is contained in:
2026-05-02 20:51:17 +02:00
parent 4488f8549a
commit 7590b3cbc1
8 changed files with 40 additions and 7 deletions

View File

@ -1,5 +1,4 @@
vim.pack.add({ 'https://github.com/neovim/nvim-lspconfig' })
vim.lsp.enable({ 'lua_ls' })
vim.lsp.enable({ 'clangd' })
@ -10,14 +9,13 @@ vim.lsp.config("rust_analyzer", {
{
postfix = { enable = true, },
},
['rust-analyzer'] = {
check = {
command = "clippy",
},
}
},
}
})
)
vim.lsp.enable('rust_analyzer')
vim.keymap.set("n", "<leader>t", vim.diagnostic.open_float)