From c7d2ec0b5dda034e21553b9b98d43686f29760bc Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Thu, 25 Jun 2020 17:18:02 +0200 Subject: [PATCH] Update vim config --- vim/vim/functions.vim | 14 +++++++------- vim/vimrc | 14 ++------------ 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/vim/vim/functions.vim b/vim/vim/functions.vim index 23082e4..9bb871f 100644 --- a/vim/vim/functions.vim +++ b/vim/vim/functions.vim @@ -10,7 +10,7 @@ " | |_ | | | | \| | | | | | | | | | \| \___ \ " | _| | |_| | |\ | |___ | | | | |_| | |\ |___) | " |_| \___/|_| \_|\____| |_| |___\___/|_| \_|____/ -" +" """"""""""""""""""""""""""""""""""""""""""""""""""""""" " Rename current file @@ -64,7 +64,7 @@ endfunction " Test if current buffer is empty function! IsEmptyBuffer() - if (bufname('%') == '') + if (bufname('%') == '') return 1 endif return 0 @@ -83,14 +83,14 @@ function! BufClose() endfunction -" COC functions -" +" COC functions {{{ +" ----- + function! s:check_back_space() abort let col = col('.') - 1 return !col || getline('.')[col - 1] =~# '\s' endfunction - function! s:show_documentation() if (index(['vim','help'], &filetype) >= 0) execute 'h '.expand('') @@ -99,5 +99,5 @@ function! s:show_documentation() endif endfunction - - +" ----- +" }}} diff --git a/vim/vimrc b/vim/vimrc index 5cb3284..f4fe904 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -388,16 +388,6 @@ function! g:BuffetSetCustomColors() " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -"" BufTabLine {{{ -"" ----- -" -"hi TabLineSel ctermbg=Red ctermfg=black guibg=Red guifg=black -"hi PmenuSel ctermbg=Black ctermfg=Red guibg=Black guifg=Red -" -"" ----- -"" }}} - - " Buffet {{{ " ----- @@ -568,8 +558,8 @@ let g:python3_host_prog = '/usr/bin/python3' " Spaceline {{{ " ----- -let g:spaceline_seperate_style= 'slant-fade' -" let g:spaceline_colorscheme = 'snazzy' +let g:spaceline_seperate_style = 'arrow-fade' +" let g:spaceline_colorscheme = '' " ----- " }}}