Closed Wa1tee closed 1 year ago
Here the cursor is visible
When moved to the adjacent position either left or right, the cursor disappears
I guess the problem might be your terminal.
I'm using kitty
terminal and It's seem normal to me
The picture above is your neovim_config
Tried at work using xfce terminal and the same issue persists: Cursor disappears when it's between the indent lines. It's visible if it's on an indent line or over text but a whitespace between indent lines it disappears. Seems like Kitty terminal may passively fix whatever the issue is
Recommend you use kitty
, I feel it is much faster. You can also take a look at Monokai Pro
colorscheme for that terminal as well.
Tried at work using xfce terminal and the same issue persists: Cursor disappears when it's between the indent lines. It's visible if it's on an indent line or over text but a whitespace between indent lines it disappears. Seems like Kitty terminal may passively fix whatever the issue is About this, I installed
xfce terminal
, I understand the problem. The cursor didn't disappear. In block shape, it have the same color with the text under it and theindentline
have a very light black; therefore, you can't see your cursor. You can try to set this in your neovim.vim.opt.guicursor = "n-v-c-sm:block-Cursor,i-ci-ve:ver25-Cursor,r-cr-o:hor20-Cursor",
combine with override function if you see the
Cursor
's color is too light.
Thanks, that option fixed it for me!
I'll check kitty out too
You could add the following to your config after setting up this plugin
vim.cmd "highlight! link IndentBlanklineChar Whitespace"
vim.cmd "highlight! link IndentBlanklineSpaceChar Whitespace"
It returns the indent-blankline char/spacechar highlighting to their defaults rather than using the definitions from lua/monokai-pro/theme/plugins/indent_blankline.lua
.
highlight! link IndentBlanklineChar Whitespace
My colorscheme support override:
override = function(c)
return {
IndentBlanklineChar = { link = "Whitespace" },
}
end,
But I wonder why you need to rewrite this?
But I wonder why you need to rewrite this?
Have updated my config to use override
instead, thanks :smiley:
*Needs to read docs more carefully
When the cursor is between indent lines it turns invisible. Using the default config