File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ vim.opt.scrolloff = 10
6666-- See `:help 'confirm'`
6767vim .opt .confirm = true
6868
69- vim .o .guicursor = ' a:block-Cursor/lCursor-blinkwait1000-blinkon100-blinkoff100'
70-
7169vim .opt .termguicolors = true
7270
7371vim .opt .wrap = false
Original file line number Diff line number Diff line change @@ -109,3 +109,14 @@ require('ibl').setup {
109109 char = ' ▏' ,
110110 },
111111}
112+
113+ vim .api .nvim_set_hl (0 , ' CursorNormal' , { bg = colors .green })
114+ vim .api .nvim_set_hl (0 , ' CursorInsert' , { bg = colors .red })
115+ vim .api .nvim_set_hl (0 , ' CursorVisual' , { bg = colors .purple })
116+ vim .api .nvim_set_hl (0 , ' CursorCommand' , { bg = colors .blue })
117+ vim .opt .guicursor = {
118+ ' n:block-CursorNormal-blinkwait1000-blinkon100-blinkoff100' ,
119+ ' i:block-CursorInsert-blinkwait1000-blinkon100-blinkoff100' ,
120+ ' v:block-CursorVisual-blinkwait1000-blinkon100-blinkoff100' ,
121+ ' c-ci-cr:block-CursorCommand-blinkwait1000-blinkon100-blinkoff100' ,
122+ }
You can’t perform that action at this time.
0 commit comments