开发者

Setting syntax in Gvim for Assembly

How can I automatically set the syntax of a certain file extension same as that of an existing language(say Perl) in Gvim ?

I know that I can do this u开发者_如何转开发sing

au BufNewFile,BufRead *.pl setf perl

I want to do it for assembly now..

seems like this is not working.. au BufNewFile,BufRead *.pl setf assembly

for IA assembly


You could try setf asm

To know what syntaxes you have, list $VIMRUNTIME/syntax.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜