Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fix bug in a method that is apparently not called very often (if ever)

  • Loading branch information...
commit 395f8901b34cc871c9576886938a6efda0eb7268 1 parent 827c47c
@pangloss authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  indent/javascript.vim
2  indent/javascript.vim
@@ -159,7 +159,7 @@ function s:IndentWithContinuation(lnum, ind, width)
" Set up variables to use and search for MSL to the previous line.
let p_lnum = a:lnum
let lnum = s:GetMSL(a:lnum, 1)
- let line = getline(line)
+ let line = getline(lnum)
" If the previous line wasn't a MSL and is continuation return its indent.
" TODO: the || s:IsInString() thing worries me a bit.

1 comment on commit 395f890


Fixes #56

Please sign in to comment.
Something went wrong with that request. Please try again.