summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'neovim/.config/nvim')
-rw-r--r--neovim/.config/nvim/init.vim11
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