From 90e53fbfca3e8f17d4477e328af0977401846e02 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 20 Oct 2022 21:12:00 +0200 Subject: fix symbols outline setup --- neovim/.config/nvim/init.vim | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'neovim') diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index e764ba2..3ca0feb 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -140,15 +140,15 @@ Plug 'ryanoasis/vim-devicons' call plug#end() lua << EOF +require('symbols-outline').setup({ -- Override the weird Class & Struct icons, which usually resolve to a -- "mathcal"-Style letter -vim.g.symbols_outline = { width = 30, symbols = { Class = {icon = "", hl = "TSType"}, Struct = {icon = "﬘", hl = "TSType"}, } -} +}) -- Setup LSP status to display the number of diagnostics in the statusbar local lsp_status = require('lsp-status') @@ -246,7 +246,7 @@ for _, lsp in ipairs(servers) do flags = { debounce_text_changes = 150, }, - capabilities = require('cmp_nvim_lsp').update_capabilities(lsp_status.capabilities) + capabilities = require('cmp_nvim_lsp').default_capabilities(lsp_status.capabilities) } if lsp == 'pylsp' then config['settings'] = {pylsp = {plugins = {pylint = {enabled = true}}}} @@ -325,7 +325,7 @@ autocmd BufWritePre *.py :%s/\s\+$//e " NERDTree ----------------------------- " toggle nerdtree display -map :NERDTreeToggle +map :NERDTreeToggle " open nerdtree with the current file selected nmap ,t :NERDTreeFind " don;t show these file types @@ -397,7 +397,7 @@ let g:AutoClosePumvisible = {"ENTER": "\", "ESC": "\"} " Airline ------------------------------ -let g:airline_powerline_fonts = 0 +let g:airline_powerline_fonts = 1 let g:airline_theme = 'bubblegum' let g:airline#extensions#whitespace#enabled = 0 @@ -427,3 +427,4 @@ function PrintFile(fname) return v:shell_error endfunction set printexpr=PrintFile(v:fname_in) +set termguicolors -- cgit v1.2.3