C Syntax Highlighting Extension for Vim
Fork from the original Mikhail Wolfson version, to which was added support for C constants and user defined types.
Simply put the c.vim
file in ~/.vim/after/syntax/
, and make sure you have syntax on
in your ~/.vimrc
file.
or, simply run
make install
make uninstall
Or use a plugin manager such as Plug.
Add this line to your ~/.vimrc
.
Plug 'pylover/c-syntax.vim'
Example:
call plug#begin('~/.vim/plugged')
" .
" .
" .
Plug 'pylover/c-syntax.vim'
" .
" .
" .
call plug#end()