aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/nvim')
-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>