aboutsummaryrefslogtreecommitdiff
path: root/lua/keymaps.lua
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-07-22 20:25:55 +0200
committerDamjan 9000 <damjan.9000@gmail.com>2024-07-22 20:25:55 +0200
commite1d6094136efb6f0c1f5a9f303fb8cbbe32b5976 (patch)
tree76ca861005d8c361e86696cd7cc0870fb5cd2178 /lua/keymaps.lua
parenta6442e80813b40238066676b7ac97951c1bd1822 (diff)
parent56b9114bf29cdc0c0f5de78b5deae1fe0ab65db1 (diff)
Merge 'upstream' Neovim 0.10 updates and more
Merged commits from upstream: Update comment about the toggle inlay hints keymap lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` Update lazydev config to fix "Undefined field `fs_stat`" LSP error Neovim 0.10 updates Fix comment about mini.ai example Make conform.nvim be lazy-loadable again Update README.md | %userprofile%\appdata\local -> %localappdata% Make debug lazy loadable Remove redundant require Fix neo-tree keymap description fix: add required parsers from nvim-treesitter
Diffstat (limited to 'lua/keymaps.lua')
-rw-r--r--lua/keymaps.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/lua/keymaps.lua b/lua/keymaps.lua
index c6c87b1..46e815c 100644
--- a/lua/keymaps.lua
+++ b/lua/keymaps.lua
@@ -6,9 +6,6 @@ vim.opt.hlsearch = true
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
-- Diagnostic keymaps
-vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous [D]iagnostic message' })
-vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next [D]iagnostic message' })
-vim.keymap.set('n', '<leader>e', vim.diagnostic.open_float, { desc = 'Show diagnostic [E]rror messages' })
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier