🔧 Updated configurations
This commit is contained in:
parent
ca2864bc45
commit
7a1a5c061e
11 changed files with 63 additions and 36 deletions
|
|
@ -1,12 +0,0 @@
|
|||
local rt = require("rust-tools")
|
||||
|
||||
rt.setup({
|
||||
server = {
|
||||
on_attach = function(_, bufnr)
|
||||
-- Hover actions
|
||||
vim.keymap.set("n", "<C-space>", rt.hover_actions.hover_actions, { buffer = bufnr })
|
||||
-- Code action groups
|
||||
vim.keymap.set("n", "<Leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
|
@ -106,7 +106,6 @@ return require("packer").startup(function(use)
|
|||
-- rustlang
|
||||
use("rust-lang/rust.vim")
|
||||
use("mrcjkb/rustaceanvim")
|
||||
use("simrat39/rust-tools.nvim")
|
||||
-- code snippet screenshots
|
||||
-- capture code snippets using :Silicon,
|
||||
-- in Visual mode highlight then enter command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue