From e28640ae5c679e57778a0bfc7772ea1ab59afdd7 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Thu, 10 Nov 2022 20:40:14 +0330 Subject: update --- init.vim | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) (limited to 'init.vim') diff --git a/init.vim b/init.vim index 2141680..5b59c78 100644 --- a/init.vim +++ b/init.vim @@ -86,7 +86,7 @@ endfunction " autocmd QueInit UIEnter * call OnUIEnter(deepcopy(v:event)) colo jellybeans -let g:airline_powerline_fonts = 0 +let g:airline_powerline_fonts = 1 try let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#left_sep = ' ' @@ -190,7 +190,7 @@ let g:qs_highlight_on_keys = ["f", "F", "t", "T"] " undotree set undolevels=1000 if has("persistent_undo") - set undodir=~/.undodir/ + set undodir=~/.nundodir/ set undofile endif let g:undotree_WindowLayout = 4 @@ -281,16 +281,16 @@ let g:mucomplete#completion_delay = 1 " firenvim write changes automatically, throttle writes let g:timer_started = v:false function! My_Write(timer) abort - let g:timer_started = v:false - write + let g:timer_started = v:false + write endfunction function! Delay_My_Write() abort - if g:timer_started - return - end - let g:timer_started = v:true - call timer_start(10000, 'My_Write') + if g:timer_started + return + end + let g:timer_started = v:true + call timer_start(10000, 'My_Write') endfunction au TextChanged * ++nested call Delay_My_Write() @@ -301,3 +301,15 @@ let g:firenvim_config = { \ 'cmdlineTimeout': 3000, \ } \ } + +"python syntax highlighting +"let g:python_slow_sync = 0 +let python_highlight_all = 1 +hi link pythonBuiltin Define +hi link pythonInclude PreCondit +hi link pythonClassParameters Constant +hi link pythonFunctionParameters Constant +hi link pythonExtraOperator Keyword +hi link pythonDoctest Tag +hi link pythonRawString Tag +hi link pythonTripleQuotes SpecialComment -- cgit v1.2.3