Files
neovim-configuration/after/ftplugin/rust.lua
Sascha Lüdecke 12bf12610a Improved rust, keybindings, org-mode export to HTML
Rust

- added ftplugin/after/rust.lua for rust keybindings

keybindings

- <space>[ and <space>] to goto prev and next diagnosticsw

Org mode

- added option for HTML export with pandoc
2024-11-06 22:24:51 +01:00

11 lines
232 B
Lua

local bufnr = vim.api.nvim_get_current_buf()
vim.keymap.set(
"n",
"<space>E",
function()
vim.cmd.RustLsp({ 'explainError', 'current' })
end,
{ silent = true, buffer = bufnr, desc = 'Rust: explain error at cursor' }
)