Skip to content

Commit 7fed007

Browse files
committed
fixed issue16
1 parent c0e8177 commit 7fed007

5 files changed

+8
-1
lines changed

autoload/vimlparser.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3459,7 +3459,7 @@ function! s:StringReader.__init__(lines)
34593459
endif
34603460
else
34613461
call add(self.buf, c)
3462-
call add(self.pos, [lnum + 1, col + 1])
3462+
call add(self.pos, [lnum + 2, col + 1])
34633463
endif
34643464
let col += len(c)
34653465
endfor
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vimlparser: E488: Trailing characters: z: line 2 col 9
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
let x = y
2+
\ z
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vimlparser: E488: Trailing characters: z: line 3 col 9
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
let x = y
2+
\
3+
\ z

0 commit comments

Comments
 (0)