From 2dd30850c5ef24e1af45619aaa4fb7da31707c73 Mon Sep 17 00:00:00 2001 From: Daniel Schadt <kingdread@gmx.de> Date: Thu, 10 Feb 2022 20:04:37 +0100 Subject: nvim: add trouble & more icons --- neovim/.config/nvim/init.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'neovim') 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()")) -- cgit v1.2.3