vim grepformat для вывода node-jslint

Каков формат 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

person mrkschan    schedule 02.02.2012    source источник
comment
возможный дубликат Vim errorformat и jslint   -  person Bo Persson    schedule 04.02.2012


Ответы (1)


Ответ найден на https://stackoverflow.com/a/8706966/433662.

Использовал ...

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

Плюс : сделать : cw

person mrkschan    schedule 04.02.2012