From 9634ba936cdc4cacc3d83c0b2254152b75462146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 3 Nov 2022 00:58:01 +0300 Subject: Add binding for diagnostics list --- dotfiles/.config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'dotfiles') diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 5fda1b5..793b48d 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -245,6 +245,7 @@ call plug#end() nmap b lua vim.lsp.buf.formatting() nmap a lua vim.lsp.buf.code_action() nmap w lua vim.lsp.buf.workspace_symbol() + nmap l lua vim.diagnostic.setloclist() nmap ]g lua vim.diagnostic.goto_next() nmap [g lua vim.diagnostic.goto_prev() -- cgit v1.2.3