A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/StanAngeloff/php.vim/issues/63 below:

Colorizing parenthesis · Issue #63 · StanAngeloff/php.vim · GitHub

Hi, I'd like to assign a custom colour to the parenthesis, but I can't find the way to do it.

I've tried this on my vimrc:
autocmd BufRead,BufNewFile * syn match parens /[(){}]/ | hi parens ctermfg=red

also putting at the bottom of my vimrc:

function! PhpSyntaxOverride()
syn match parens /[(){}]/ | hi! parens ctermfg=blue
endfunction

augroup phpSyntaxOverride
autocmd!
autocmd FileType php call PhpSyntaxOverride()
augroup END

Nothing.. no way to change it. Any hint please?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4