projet c
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user