summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorrhysd <lin90162@yahoo.co.jp>2017-11-17 15:21:54 +0900
committerrhysd <lin90162@yahoo.co.jp>2017-11-17 15:34:07 +0900
commitca345ffb624ba399458eb7b2954ce2efbc381248 (patch)
treee03b34efb488babf20bc3ece318269d86ac143c6 /autoload
parent44cd07d39c860c32016d85b4d4f0c8aec901064d (diff)
downloadale-ca345ffb624ba399458eb7b2954ce2efbc381248.zip
redpen: fix start column
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/handlers/redpen.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/handlers/redpen.vim b/autoload/ale/handlers/redpen.vim
index 89ad5fc7..35ff8c17 100644
--- a/autoload/ale/handlers/redpen.vim
+++ b/autoload/ale/handlers/redpen.vim
@@ -13,7 +13,7 @@ function! ale#handlers#redpen#HandleRedpenOutput(buffer, lines) abort
\}
if has_key(l:err, 'startPosition')
let l:item.lnum = l:err.startPosition.lineNum
- let l:item.col = l:err.startPosition.offset
+ let l:item.col = l:err.startPosition.offset + 1
if has_key(l:err, 'endPosition')
let l:item.end_lnum = l:err.endPosition.lineNum
let l:item.end_col = l:err.endPosition.offset