Add crates.nvim

main
Ensar Sarajčić 2024-11-21 17:58:05 +01:00
parent 785e1e57e8
commit 566b391dcc
2 changed files with 13 additions and 0 deletions

View File

@ -45,6 +45,7 @@ return require("lazy").setup({
"nvim-neotest/nvim-nio", "nvim-neotest/nvim-nio",
"nvim-neotest/neotest-plenary", "nvim-neotest/neotest-plenary",
"rouge8/neotest-rust", "rouge8/neotest-rust",
"saecki/crates.nvim",
"nvim-neotest/neotest-vim-test", -- vim-test plugin for neotest "nvim-neotest/neotest-vim-test", -- vim-test plugin for neotest
"vim-test/vim-test", -- Running tests from vim "vim-test/vim-test", -- Running tests from vim
"mfussenegger/nvim-dap", -- Debug Adapter Protocol "mfussenegger/nvim-dap", -- Debug Adapter Protocol

View File

@ -111,3 +111,15 @@ vim.g.rustaceanvim = {
}, },
}), }),
} }
require("crates").setup({
lsp = {
enabled = true,
on_attach = function(client, bufnr)
common_config.on_attach(client, bufnr)
end,
actions = true,
completion = true,
hover = true,
},
})