Add map for lsp in loclist
This commit is contained in:
parent
dcae584991
commit
b2082f6aa1
1 changed files with 1 additions and 0 deletions
|
@ -29,3 +29,4 @@ nnoremap <silent> <Leader>rn <cmd>lua vim.lsp.buf.rename()<CR>
|
||||||
" Goto previous/next diagnostic warning/error
|
" Goto previous/next diagnostic warning/error
|
||||||
nnoremap <silent> g[ <cmd>lua vim.diagnostic.goto_prev()<CR>
|
nnoremap <silent> g[ <cmd>lua vim.diagnostic.goto_prev()<CR>
|
||||||
nnoremap <silent> g] <cmd>lua vim.diagnostic.goto_next()<CR>
|
nnoremap <silent> g] <cmd>lua vim.diagnostic.goto_next()<CR>
|
||||||
|
nnoremap <silent> gE <cmd>lua vim.diagnostic.setloclist()<CR>
|
||||||
|
|
Loading…
Reference in a new issue