diff options
| author | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-15 17:27:14 +0100 | 
|---|---|---|
| committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-15 17:27:14 +0100 | 
| commit | d15651463ab5c3dd6609e548527a8ea18ab80c98 (patch) | |
| tree | d148d7d3f48beefe0d1b7864355ff54ea6b55f50 /after/syntax/c.vim | |
| parent | 0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2 (diff) | |
| download | vim-polyglot-d15651463ab5c3dd6609e548527a8ea18ab80c98.tar.gz vim-polyglot-d15651463ab5c3dd6609e548527a8ea18ab80c98.zip  | |
Updatev4.1.1
Diffstat (limited to 'after/syntax/c.vim')
| -rw-r--r-- | after/syntax/c.vim | 13 | 
1 files changed, 13 insertions, 0 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim index 105b0268..471ae6df 100644 --- a/after/syntax/c.vim +++ b/after/syntax/c.vim @@ -37,6 +37,19 @@ if exists('g:cpp_member_variable_highlight') && g:cpp_member_variable_highlight  endif  " ----------------------------------------------------------------------------- +"  Highlight POSIX functions. +" ----------------------------------------------------------------------------- +if exists('g:cpp_posix_standard') && g:cpp_posix_standard +	syn keyword cPOSIXFunction 	socket accept bind connect getsockname +	syn keyword cPOSIXFunction 	listen recv recvfrom recvmsg +	syn keyword cPOSIXFunction 	send sendto sendmsg setsockopt socketpair +	syn keyword cPOSIXFunction 	htonl htons ntohl ntohs +	syn keyword cPOSIXFunction 	inet_ntop inet_pton getaddrinfo +	syn keyword cPOSIXFunction 	poll select pselect +	hi def link cPOSIXFunction Function +endif + +" -----------------------------------------------------------------------------  "  Source: aftersyntaxc.vim  " -----------------------------------------------------------------------------  | 
