diff options
Diffstat (limited to 'neovim/.config/nvim')
-rw-r--r-- | neovim/.config/nvim/init.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index da9d6d1..1dbc2d6 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -131,6 +131,14 @@ Plug 'myusuf3/numbers.vim' Plug 'rust-lang/rust.vim' Plug 'simrat39/rust-tools.nvim' +" Trouble diagnostics display +Plug 'folke/lsp-colors.nvim', {'branch': 'main'} +Plug 'kyazdani42/nvim-web-devicons' +Plug 'folke/trouble.nvim', {'branch': 'main'} + +" Nice icons in NERDtree/airline +Plug 'ryanoasis/vim-devicons' + " Tell vim-plug we finished declaring plugins, so it can load them call plug#end() @@ -245,6 +253,8 @@ EOF nmap <silent><space>s :SymbolsOutline<CR> nmap <F4> :SymbolsOutline<CR> +nmap <F5> :TroubleToggle workspace_diagnostics<CR> +nmap <F6> :TroubleToggle document_diagnostics<CR> function! LspStatus() abort return trim(luaeval("require('lsp-status').status()")) |