I did enable the vim syntax highlight in vimrc,I can see void and int keyword is different color than other code,but the problem is I cannot see the function syntax highlight, function like memcpy malloc doesn’t have syntax highlight,and of course my own function doesn’t have syntax highlight too,
Share
vim only highlight keywords of
C, such asif,else,while… and"string literal".Because it’s can be easily parsed by
regex.Only compiler can tell
memcpyis a function.