tokyonight.nvim icon indicating copy to clipboard operation
tokyonight.nvim copied to clipboard

DoMatchParen not working

Open Trid-collab opened this issue 3 years ago • 4 comments

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

Trid-collab avatar Nov 01 '21 14:11 Trid-collab

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

folke avatar Nov 07 '21 19:11 folke

MatchParen is not working for me either. The output of :verbose hi MatchParen is exactly MatchParen xxx ctermbg=6 gui=bold guifg=#ff9e64

elkrammer avatar Nov 07 '21 23:11 elkrammer

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 😅

elkrammer avatar Nov 09 '21 12:11 elkrammer

I am getting the following output when I run verbose hi MatchParen

image

I have then added something like -- cmd([[au VimEnter * highlight MatchParen ctermbg=blue guibg=lightblue]]) - picked up from somewhere in the Internet - which works

Trid-collab avatar Nov 11 '21 11:11 Trid-collab