From 8917c3662baade7ef1f02ac857cf4964153f659a Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Wed, 9 Nov 2016 22:36:33 +0000 Subject: [PATCH] Add column information --- rc/base/lint.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/lint.kak b/rc/base/lint.kak index ff3a8b47..f71afaba 100644 --- a/rc/base/lint.kak +++ b/rc/base/lint.kak @@ -41,7 +41,7 @@ def lint -docstring 'Parse the current buffer with a linter' %{ } } /:[0-9]+:[0-9]+:/ { - errors = errors $2 "," $3 "," substr($4,2) ":" + errors = errors $2 "," $3 ",c" $3 " " substr($4,2) ":" # fix case where $5 is not the last field because of extra :s in the message for (i=5; i<=NF; i++) errors = errors $i ":" errors = substr(errors, 1, length(errors)-1) "\n"