Vim syntax colouring for gcov not working as inteded -
i'm new vim, , little puzzled.
i'm using gcov (through clang), , installed .gcov vim syntax file here placing in vim syntax folder - highlighting doesn't appear.
what missing? thanks!
you need these 2 lines in ~/.vimrc syntax highlighting work properly:
filetype on syntax on because it's people want, should use:
filetype plugin indent on syntax on the first line ensures vim recognizes filetype, loads filetype-specific options/mappings/autocmds , applies filetype's built-in indent rules.
the second line activates synatx highlighting.
Comments
Post a Comment