add keymap for reloading a rust/cargo workspace
This commit is contained in:
parent
920776c81d
commit
1ab3817b55
|
@ -37,6 +37,7 @@ vim.api.nvim_create_autocmd('BufEnter', {
|
|||
map('n', '<leader>re', '<Cmd>RustLsp explainError<CR>', { desc = 'Rust: [E]xplain Error' })
|
||||
map('n', '<leader>ri', '<Cmd>RustLsp renderDiagnostic<CR>', { desc = 'Rust: Show Next D[i]agnostic' })
|
||||
map('n', '<leader>ro', '<Cmd>RustLsp openCargo<CR>', { desc = 'Rust: [O]pen Cargo.toml' })
|
||||
map('n', '<leader>rl', '<Cmd>RustLsp reloadWorkspace<CR>', { desc = 'Rust: Re[l]oad Workspace' })
|
||||
end
|
||||
|
||||
if helper.in_cmake_project() then
|
||||
|
|
Loading…
Reference in a new issue