diff options
author | 2025-01-31 17:35:26 +0000 | |
---|---|---|
committer | 2025-01-31 17:56:07 +0000 | |
commit | 84006bade072d8b3c390beddceae7222e0432667 (patch) | |
tree | 630e6efe48e927313a63a736c6184c5ca3b7adc9 | |
parent | 50c107a25b327d626985b28aeb8f9a6bbd571345 (diff) | |
download | dotfiles-84006bade072d8b3c390beddceae7222e0432667.tar.gz dotfiles-84006bade072d8b3c390beddceae7222e0432667.tar.bz2 dotfiles-84006bade072d8b3c390beddceae7222e0432667.zip |
[nvim] Change diagnostics mappings
-rw-r--r-- | home/.config/nvim/after/plugin/mappings.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.config/nvim/after/plugin/mappings.lua b/home/.config/nvim/after/plugin/mappings.lua index 1fb39ef..a2fb6cd 100644 --- a/home/.config/nvim/after/plugin/mappings.lua +++ b/home/.config/nvim/after/plugin/mappings.lua @@ -51,9 +51,9 @@ map.n("<c-l>", "<c-w>l") map.t("<Esc>", "<c-\\><c-n>", { silent = true, noremap = true, expr = true }) -map.n("[e", function() +map.n("[w", function() vim.diagnostic.goto_prev({ severity = vim.diagnostic.severity.ERROR }) end) -map.n("]e", function() +map.n("]w", function() vim.diagnostic.goto_next({ severity = vim.diagnostic.severity.ERROR }) end) |