aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-11-03 00:58:01 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2022-11-03 00:58:01 +0300
commit9634ba936cdc4cacc3d83c0b2254152b75462146 (patch)
treee017c8fff07bdf7d7a295e900dfce1211d54bb6c
parent967e3fd3830ceea2cfa280de061abe1bc41d70f0 (diff)
downloadvimrice-9634ba936cdc4cacc3d83c0b2254152b75462146.tar.gz
vimrice-9634ba936cdc4cacc3d83c0b2254152b75462146.zip
Add binding for diagnostics list
-rw-r--r--dotfiles/.config/nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
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 <silent> <leader>b <cmd>lua vim.lsp.buf.formatting()<CR>
nmap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<CR>
nmap <silent> <leader>w <cmd>lua vim.lsp.buf.workspace_symbol()<CR>
+ nmap <silent> <leader>l <cmd>lua vim.diagnostic.setloclist()<CR>
nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR>
nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR>