add trouble
This commit is contained in:
parent
9adddc4b7a
commit
f763d7b994
2 changed files with 29 additions and 0 deletions
3
.vimrc
3
.vimrc
|
|
@ -214,6 +214,7 @@ Plug 'ray-x/lsp_signature.nvim'
|
|||
|
||||
Plug 'RishabhRD/popfix'
|
||||
Plug 'RishabhRD/nvim-lsputils'
|
||||
Plug 'folke/trouble.nvim'
|
||||
|
||||
" Plugins that do specific things
|
||||
"Plug 'Shougo/vimproc.vim'
|
||||
|
|
@ -304,6 +305,8 @@ nnoremap <silent> ga <cmd>lua require('telescope.builtin').lsp_code_actions({i
|
|||
vnoremap <silent> ga :<C-U>lua require('telescope.builtin').lsp_range_code_actions({initial_mode = "normal"})<cr>
|
||||
nnoremap <silent> ge <cmd>lua vim.lsp.diagnostic.show_line_diagnostics({show_header = false, focusable = false})<CR>
|
||||
|
||||
nnoremap <leader>xx <cmd>TroubleToggle<cr>
|
||||
|
||||
" Set updatetime for CursorHold
|
||||
" 300ms of no cursor movement to trigger CursorHold
|
||||
set updatetime=500
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue