vim中的Javascript语法高亮 [英] Javascript syntax highlighting in vim

查看:39
本文介绍了vim中的Javascript语法高亮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有其他人发现 VIM 的 Javascript 语法突出显示不是最佳的?我发现有时我需要滚动以调整语法突出显示,因为有时它会神秘地丢弃所有突出显示.

Has anyone else found VIM's syntax highlighting of Javascript sub-optimal? I'm finding that sometimes I need to scroll around in order to get the syntax highlighting adjusted, as sometimes it mysteriously drops all highlighting.

是否有任何变通方法或方法可以解决此问题?我使用的是 vim 7.1.

Are there any work-arounds or ways to fix this? I'm using vim 7.1.

推荐答案

你可能想试试这个 改进了 Javascript 语法高亮,而不是 VIMRUNTIME 附带的那个.

You might like to try this improved Javascript syntax highlighter rather than the one that ships with VIMRUNTIME.

这篇关于vim中的Javascript语法高亮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆