feat(nvim): add keybinding to toggle inlay hints
This commit is contained in:
parent
c4a2a8ef0e
commit
93c933d172
@ -102,6 +102,11 @@ vim.keymap.set("n", "<leader>lt", function()
|
||||
end, {
|
||||
desc = "LSP: Toggle Diagnostic Style",
|
||||
})
|
||||
vim.keymap.set("n", "<leader>lT", function()
|
||||
vim.lsp.inlay_hint(0, nil)
|
||||
end, {
|
||||
desc = "LSP: Toggle Inlay Hints",
|
||||
})
|
||||
|
||||
-- Formatter
|
||||
vim.keymap.set("n", "<leader>nf", ":Neoformat<CR>", { silent = true, desc = "Neoformat" })
|
||||
|
Loading…
Reference in New Issue
Block a user