Too many things (should have commited more often)
This commit is contained in:
parent
d51e8b1f97
commit
b7a0a94655
16 changed files with 143 additions and 80 deletions
dotfiles/neovim/lua/my/plugins
|
@ -6,17 +6,19 @@ local M = {
|
|||
config = function()
|
||||
require("rust-tools").setup({
|
||||
server = {
|
||||
on_attach = lspconfig.on_attach,
|
||||
on_attach = function(client, bufnr)
|
||||
K.nmap(
|
||||
"<leader>lc",
|
||||
"<cmd>RustOpenCargo<cr>",
|
||||
"Open [c]argo.toml",
|
||||
true,
|
||||
true
|
||||
)
|
||||
|
||||
lspconfig.on_attach(client, bufnr)
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
||||
K.nmap(
|
||||
"<leader>lc",
|
||||
"<cmd>RustOpenCargo<cr>",
|
||||
"Open [c]argo.toml",
|
||||
true,
|
||||
true
|
||||
)
|
||||
end,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue