diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-07-11 14:52:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-07-11 14:54:03 +1200 |
commit | c139e8e0482c484fcb7115fe91bae668a51ea4bc (patch) | |
tree | 494eb3eb6188e2c202ff7dc7d40980129eacf492 /vim/autoload/colorscheme.vim | |
parent | Merge branch 'release/v6.54.0' into develop (diff) | |
download | dotfiles-c139e8e0482c484fcb7115fe91bae668a51ea4bc.tar.gz dotfiles-c139e8e0482c484fcb7115fe91bae668a51ea4bc.zip |
Avoid let-& syntax
Diffstat (limited to 'vim/autoload/colorscheme.vim')
-rw-r--r-- | vim/autoload/colorscheme.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/autoload/colorscheme.vim b/vim/autoload/colorscheme.vim new file mode 100644 index 00000000..9ee9f24d --- /dev/null +++ b/vim/autoload/colorscheme.vim @@ -0,0 +1,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 |