gerardbm / vim-atomic

Atomic color scheme for Vim, Neovim and Gvim
https://github.com/gerardbm/atomic
MIT License
16 stars 1 forks source link

Highlight the matching parenthesis when cursor is on it #8

Open maxchou0205 opened 7 months ago

gerardbm commented 7 months ago

"hello, is it possible to highlight the matching parenthesis when cursor is on it?(just like the default vim colorscheme did), thanks a lot..."

Yes, it already does. The parenthesis is highlighted in bold when the cursor is on the other one. Check the support for bold text in your terminal.

maxchou0205 commented 7 months ago

thanks a lot, i tried to add the following in .vimrc 'hi MatchParen guifg=#000000 guibg=#FD971F gui=NONE ctermfg=000 ctermbg=208 cterm=NONE' it works just fine. i am very sorry that i did not search through the documentation before the issue is raised. i am very sorry for your time to reply this issue... your work is really really remarkable. appreciated.

gerardbm commented 7 months ago

You are welcome.

I just tested your code and it looks nice, as well. It's a good solution for these cases without bold support. I'm wondering if I should adapt it to a background color, because its easier to see.

gerardbm commented 7 months ago

I liked your idea, @maxchou0205, so I implemented it. It's faster and easier to see the matching parenthesis, now. Nice one!

gerardbm commented 6 months ago

I've made it optional.

By default, Atomic will use an orange color to highlight the background for MatchParen. To use the orange color for the foreground instead, use the following option before the color scheme definition:

let g:atomic_matchparen = 0

PS. I didn't get used to it for a month using it. So making it optional is a win-win.