aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload/colorscheme.vim
blob: 9ee9f24da722a3eaad7b6d8119fbe0e874bd0631 (plain) (blame)
1
2
3
4
5
6
7
8
" Reset colorscheme based on current colorscheme name
function! colorscheme#UpdateCursorline(colors_name, list) abort
  if index(a:list, a:colors_name) >= 0
    set cursorline
  else
    set nocursorline
  endif
endfunction