Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用一个名为 c0 的 C 子集。语法几乎相同,但文件扩展名是 c0 而不是 c。有没有办法更改我的 vimrc 文件以使 Syntastic 了解 c0 与 c 相同,因此它将对以 c0 结尾的文件使用相同的 linter?
谢谢!
尝试为您的扩展设置FileType :c0
c0
将此添加到您的.vimrc
.vimrc
au BufRead,BufNewFile *.c0 set ft=c