diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-02-10 20:04:37 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-02-10 20:04:37 +0100 |
commit | 2dd30850c5ef24e1af45619aaa4fb7da31707c73 (patch) | |
tree | d2d6eb99dc4813d89f059285e0c349b34883a2e2 | |
parent | 3793c73983a49e854d8cd513b24e25df2788bbbd (diff) | |
download | dotfiles-2dd30850c5ef24e1af45619aaa4fb7da31707c73.tar.gz dotfiles-2dd30850c5ef24e1af45619aaa4fb7da31707c73.tar.bz2 dotfiles-2dd30850c5ef24e1af45619aaa4fb7da31707c73.zip |
nvim: add trouble & more icons
-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()")) |