Update vim config
This commit is contained in:
parent
cbd598d9df
commit
c7d2ec0b5d
@ -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('<cword>')
|
||||
@ -99,5 +99,5 @@ function! s:show_documentation()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
14
vim/vimrc
14
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 = ''
|
||||
|
||||
" -----
|
||||
" }}}
|
||||
|
Loading…
Reference in New Issue
Block a user