aboutsummaryrefslogtreecommitdiff
path: root/core/autocommands.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-02-17 17:05:40 +0800
committerjdhao <jdhao@hotmail.com>2021-02-17 17:05:40 +0800
commita36041782252c79a2dd20a5488954aaaef196335 (patch)
tree8bd65b1bf4c5aaa986623cdc59e8e1ddd1e40b76 /core/autocommands.vim
parentc3bdc7caf09cf6e56180d0a698513b29babf8fec (diff)
Move cursor color autocmd to autocommands script
Diffstat (limited to 'core/autocommands.vim')
-rw-r--r--core/autocommands.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/autocommands.vim b/core/autocommands.vim
index 57b07cb..00c48e2 100644
--- a/core/autocommands.vim
+++ b/core/autocommands.vim
@@ -76,4 +76,11 @@ augroup cmd_msg_cls
autocmd!
autocmd CursorHold * call timer_start(25000, funcref('s:empty_message'))
augroup END
+
+" Highlight groups for cursor color
+augroup cursor_color
+ autocmd!
+ autocmd ColorScheme * highlight Cursor cterm=bold gui=bold guibg=#00c918 guifg=black
+ autocmd ColorScheme * highlight Cursor2 guifg=red guibg=red
+augroup END
"}