diff options
| author | Daniel Schadt <kingdread@gmx.de> | 2022-10-20 21:12:00 +0200 | 
|---|---|---|
| committer | Daniel Schadt <kingdread@gmx.de> | 2022-10-20 21:12:00 +0200 | 
| commit | 90e53fbfca3e8f17d4477e328af0977401846e02 (patch) | |
| tree | d2b0b447518c8bfaf7116c3375873f893da4157b /neovim/.config/nvim | |
| parent | 9d2960db7aeb503bd73678828dea40aaf0f3b9a7 (diff) | |
| download | dotfiles-90e53fbfca3e8f17d4477e328af0977401846e02.tar.gz dotfiles-90e53fbfca3e8f17d4477e328af0977401846e02.tar.bz2 dotfiles-90e53fbfca3e8f17d4477e328af0977401846e02.zip | |
fix symbols outline setup
Diffstat (limited to 'neovim/.config/nvim')
| -rw-r--r-- | neovim/.config/nvim/init.vim | 11 | 
1 files changed, 6 insertions, 5 deletions
| 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 <F3> :NERDTreeToggle<CR> +map <silent><F3> :NERDTreeToggle<CR>  " open nerdtree with the current file selected  nmap ,t :NERDTreeFind<CR>  " don;t show these file types @@ -397,7 +397,7 @@ let g:AutoClosePumvisible = {"ENTER": "\<C-Y>", "ESC": "\<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 | 
