So I have to follow a name convention for my C data types :
Typedefs must start with a t_
prefix such a t_mytype
.
Structs must start with a with an s_
prefix and so on for other data types.
So I added syn match cType /\(\s\|^\|(\)s_\w\+/
to my /usr/share/vim/vim81/syntax/c.vim
file and it is working almost as intended except that when in front of a parenthesis, the parenthesis is also highlighted.
This is minor annoyance but I would very much like to know what I am doing wrong. What can I do to exclude that paenthesis from higlighting ?
Thanks in advance dear vimmers.