1
0

test 0.12.1 config

This commit is contained in:
2026-04-08 19:19:43 +02:00
parent 0763449f80
commit 372f3a7720
43 changed files with 950 additions and 120 deletions

View File

@@ -0,0 +1,21 @@
local bufnr = vim.api.nvim_get_current_buf()
-- vim.keymap.set("n", "<leader>a", function()
-- vim.cmd.RustLsp("codeAction") -- supports rust-analyzer's grouping
-- -- or vim.lsp.buf.codeAction() if you don't want grouping.
-- end, { silent = true, buffer = bufnr })
-- vim.keymap.set(
-- "n",
-- "K", -- Override Neovim's built-in hover keymap with rustaceanvim's hover actions
-- function()
-- vim.cmd.RustLsp({ "hover", "actions" })
-- end,
-- { silent = true, buffer = bufnr }
-- )
-- vim.keymap.set(
-- "n",
-- "<leader>?", -- Override Neovim's built-in hover keymap with rustaceanvim's hover actions
-- function()
-- vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
-- end,
-- { buffer = bufnr }
-- )