Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Colorizing parenthesis #63

Closed
Closed
@fcojavierdomenech

Description

@fcojavierdomenech

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions