tokyonight.nvim
tokyonight.nvim copied to clipboard
DoMatchParen not working
I noticed that I am not getting the matching parenthesis highlight while I am using this colorscheme. On researching I found out that I could get it started when I used something like :hi MatchParen ctermbg=blue guibg=lightblue
on the command line. But I am not aware how to set it permanently
TokyoNight correctly sets MatchParen.
What do you get when running :verbose hi MatchParen
?
Should be something like:
MatchParen xxx ctermbg=6 gui=bold guifg=#ff9e64
MatchParen is not working for me either. The output of :verbose hi MatchParen
is exactly MatchParen xxx ctermbg=6 gui=bold guifg=#ff9e64
My bad - MatchParen
for tokyonight is working fine for me.
My problem was in an attempt to make startup a bit faster I had disabled the matchparen
plugin with:
vim.g.loaded_matchparen = 1
😅
I am getting the following output when I run verbose hi MatchParen
I have then added something like -- cmd([[au VimEnter * highlight MatchParen ctermbg=blue guibg=lightblue]])
- picked up from somewhere in the Internet - which works