Add mapping for diagnostic popup
This commit is contained in:
parent
a66d3f9c73
commit
3cc8447717
@ -56,6 +56,8 @@ vim.keymap.set("n", "<leader>r", function() vim.cmd('lua require("harpoon.ui").n
|
||||
vim.keymap.set("n", "<leader>s", function() vim.cmd('lua require("harpoon.ui").nav_file(3)') end)
|
||||
vim.keymap.set("n", "<leader>t", function() vim.cmd('lua require("harpoon.ui").nav_file(4)') end)
|
||||
|
||||
|
||||
-- Ltex
|
||||
local function ltex_append_dictionary(word)
|
||||
if not word or word == "\n" or word == "" then
|
||||
print("Word empty:", word)
|
||||
@ -102,3 +104,6 @@ end
|
||||
vim.keymap.set("v", "<leader>zz", ltex_selection_add_word)
|
||||
vim.keymap.set("n", "<leader>zz", ltex_add_word)
|
||||
vim.keymap.set("n", "<leader>zd", function() vim.cmd.edit(LTEX_DICT) end)
|
||||
|
||||
-- Lsp stuff
|
||||
vim.keymap.set("n", "<leader>e", vim.diagnostic.open_float)
|
||||
|
Loading…
Reference in New Issue
Block a user