Fix trouble configs
This commit is contained in:
parent
151a65cf23
commit
c8d7834f22
2 changed files with 5 additions and 2 deletions
|
@ -31,9 +31,10 @@ 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>
|
nnoremap <silent> gE <cmd>lua vim.diagnostic.setloclist()<CR>
|
||||||
|
|
||||||
" work with Trouble to view lists of diagnostic warnings/ennoremap <leader>xx <cmd>TroubleToggle<cr>
|
" work with Trouble to view lists of diagnostic warnings/errors
|
||||||
|
nnoremap <leader>xx <cmd>TroubleToggle<cr>
|
||||||
nnoremap <leader>xw <cmd>TroubleToggle workspace_diagnostics<cr>
|
nnoremap <leader>xw <cmd>TroubleToggle workspace_diagnostics<cr>
|
||||||
nnoremap <leader>xd <cmd>TroubleToggle document_diagnostics<cr>
|
nnoremap <leader>xd <cmd>TroubleToggle document_diagnostics<cr>
|
||||||
nnoremap <leader>xq <cmd>TroubleToggle quickfix<cr>
|
nnoremap <leader>xq <cmd>TroubleToggle quickfix<cr>
|
||||||
nnoremap <leader>xl <cmd>TroubleToggle loclist<cr>
|
nnoremap <leader>xl <cmd>TroubleToggle loclist<cr>
|
||||||
nnoremap gR <cmd>TroubleToggle lsp_references<cr>rrors
|
nnoremap gR <cmd>TroubleToggle lsp_references<cr>
|
||||||
|
|
2
plug.vim
2
plug.vim
|
@ -15,6 +15,8 @@ Plug 'mbbill/undotree'
|
||||||
Plug 'fneu/breezy'
|
Plug 'fneu/breezy'
|
||||||
" diagnostics display
|
" diagnostics display
|
||||||
Plug 'folke/trouble.nvim'
|
Plug 'folke/trouble.nvim'
|
||||||
|
" icons for Trouble
|
||||||
|
Plug 'kyazdani42/nvim-web-devicons'
|
||||||
|
|
||||||
|
|
||||||
" files, folders, projects, etc.
|
" files, folders, projects, etc.
|
||||||
|
|
Loading…
Reference in a new issue