talha-akram / noctis.nvim

Neovim port of noctis family of themes (https://github.com/liviuschera/noctis)
56 stars 6 forks source link

Cursor jumping due to MatchParen settings #2

Closed GerbenWelter closed 1 year ago

GerbenWelter commented 1 year ago

Thank you for making these beautiful colorschemes available for Neovim.

While navigating code I noticed the cursor jumped around when it was on a matching parenthesis or bracket. This made navigating very confusing. At first I thought it was due to some Neovim setting but then I found out it was only when using the noctis colorschemes. I found the setting responsible for this behavior here. Changing reverse to false made me regain my sanity ;-)

Was this setting done deliberately? If so, can it be made configurable?

talha-akram commented 1 year ago

Thank you so much for reporting this issue, I really appreciate the details provided!

I have updated it use an underline instead which still lets us identify bracket pairs but doesn't cause the jarring effect you have reported.

Normal mode

image

Insert mode:

image
GerbenWelter commented 1 year ago

Much better! Thank you very much.