【问题标题】:vim grepformat for node-jslint outputvim grepformat 用于 node-jslint 输出
【发布时间】:2012-02-24 19:28:50
【问题描述】:

以下错误输出的Vim grepformat是什么(node-jslint的错误输出)?

static/js/t.js
 #1 Expected 'this' at column 5, not column 3.
    this.JSON2 = {}; // Line 44, Pos 3
 #2 Expected 'use strict' at column 5, not column 3.
    "use strict"; // Line 48, Pos 3

【问题讨论】:

标签: vim jslint


【解决方案1】:

https://stackoverflow.com/a/8706966/433662找到答案

二手...

setlocal efm=%-P%f,
             \%E%>\ #%n\ %m,%Z%.%#Line\ %l\\,\ Pos\ %c,
             \%-G%f\ is\ OK.,%-Q

加:make:cw

【讨论】:

    猜你喜欢
    • 2010-10-03
    • 2011-01-15
    • 2011-08-17
    • 2014-08-15
    • 2011-04-12
    • 2012-01-27
    • 1970-01-01
    • 2014-02-25
    • 2011-11-18
    相关资源
    最近更新 更多