开发者

Incorrect syntax highlighting Vim (Actionscript 3)

The braces shown below after ...ret):String are incorrectly being highlighted as red

I'm using the following syntax definition file for actionscript:

  • http://www.vim.org/scripts/script.php?script_id=1061

Incorrect syntax highlighting Vim (Actionscript 3)

2 Questions:

  1. Does anyone happen to know off-hand what causes this weird matching?
  2. Is there anyway of identifyin开发者_运维问答g the current syntax matching group under the cursor?


  1. It's because the syntax file doesn't support anonymous functions. I guess usually (in many other languages) that's an error? Fix it by removing syn match actionScriptInParen contained "[{}]" from actionscript.vim.

  2. I don't know.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜