Groovy syntax highlighting in Vim 7.4

南笙酒味 提交于 2019-12-12 09:43:49

问题


Since I updated Vim to version 7.4, Groovy syntax highlighting was broken.

For example:

int i1 = 100 / 2 * 5 + 120

In example above code after / char is highlighted as string literal while another / char will not be found there.

Is anyone met this error?

UPDATED:

  1. Groovy regexp strings can be written as /regexp/, but in official Groovy documentation this string is not highlighted (I think because it is very difficult to separate this regexp and division expression).

  2. In previous (7.3) major version of Vim is alright.

来源:https://stackoverflow.com/questions/18855809/groovy-syntax-highlighting-in-vim-7-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!