mirror of
https://github.com/OMGeeky/nvim-config-1.git
synced 2026-01-08 12:07:05 +01:00
add rustaceanvim
This commit is contained in:
4
after/ftplugin/rust.lua
Normal file
4
after/ftplugin/rust.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
local bufnr = vim.api.nvim_get_current_buf()
|
||||
vim.keymap.set("n", "<leader>a", function()
|
||||
vim.cmd.RustLsp("codeAction")
|
||||
end, { silent = true, buffer = bufnr })
|
||||
Reference in New Issue
Block a user