Tar contains just the required .vim files, so un-tar them in (or copy to) your ~/.vim/syntax/ directory.
To make the syntax permanent, consider setting with an auto command in your vimrc: au BufNewFile,BufRead *.cpp set syntax=cpp11本文共 283 字,大约阅读时间需要 1 分钟。
Tar contains just the required .vim files, so un-tar them in (or copy to) your ~/.vim/syntax/ directory.
To make the syntax permanent, consider setting with an auto command in your vimrc: au BufNewFile,BufRead *.cpp set syntax=cpp11转载于:https://www.cnblogs.com/diegodu/p/6187731.html