diff options
| author | Daniel Schadt <kingdread@gmx.de> | 2025-01-30 19:43:14 +0100 | 
|---|---|---|
| committer | Daniel Schadt <kingdread@gmx.de> | 2025-01-30 19:43:14 +0100 | 
| commit | 37a5a5bd9c896f0f31a83bfb51e92cb0a9d1d2a3 (patch) | |
| tree | c89ec096c398ac58c1fa8807856f81d26d30aa70 /neovim/.config/nvim | |
| parent | 06ee384ce88ced4c77c119da2402e8227f50f97f (diff) | |
| download | dotfiles-master.tar.gz dotfiles-master.tar.bz2 dotfiles-master.zip  | |
Diffstat (limited to 'neovim/.config/nvim')
| -rw-r--r-- | neovim/.config/nvim/init.vim | 10 | 
1 files changed, 7 insertions, 3 deletions
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index c202106..9a7946e 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -39,6 +39,8 @@ Plug 'ntpeters/vim-better-whitespace'  " Nice support for latex files  Plug 'lervag/vimtex' +" Nice support for rST files +Plug 'habamax/vim-rst'  " Override configs by directory  Plug 'arielrossanigo/dir-configs-override.vim' @@ -146,6 +148,8 @@ Plug 'ryanoasis/vim-devicons'  call plug#end()  lua << EOF +require('trouble').setup() +  require('symbols-outline').setup({  -- Override the weird Class & Struct icons, which usually resolve to a  -- "mathcal"-Style letter @@ -257,7 +261,7 @@ end  -- Use a loop to conveniently call 'setup' on multiple servers and  -- map buffer local keybindings when the language server attaches -local servers = { 'clangd', 'hls', 'rust_analyzer', 'texlab', 'jedi_language_server', 'tsserver' } +local servers = { 'clangd', 'hls', 'rust_analyzer', 'texlab', 'jedi_language_server', 'ts_ls' }  for _, lsp in ipairs(servers) do    local config = {      on_attach = on_attach, @@ -281,8 +285,8 @@ EOF  nmap <F2> :TagbarToggle<CR>  nmap <silent><space>s :SymbolsOutline<CR>  nmap <F4> :SymbolsOutline<CR> -nmap <F5> :TroubleToggle workspace_diagnostics<CR> -nmap <F6> :TroubleToggle document_diagnostics<CR> +nmap <F5> :Trouble diagnostics toggle<CR> +nmap <F6> :Trouble diagnostics toggle filter.buf=0<CR>  function! LspStatus() abort    return trim(luaeval("require('lsp-status').status()"))  | 
