diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-12-29 19:44:40 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-12-29 19:44:40 +0100 |
commit | 95d82fdb668b746ac100a8b7d2aca38038150707 (patch) | |
tree | 19f2e80acbab5efe1d35630faafb5e24d7230fd8 /indent/typescript.vim | |
parent | 73c518717741fb3ebb6822645d38f37ffae7c19b (diff) | |
download | vim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.tar.gz vim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.zip |
Update
Diffstat (limited to 'indent/typescript.vim')
-rw-r--r-- | indent/typescript.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indent/typescript.vim b/indent/typescript.vim index 0bc143c3..d372f992 100644 --- a/indent/typescript.vim +++ b/indent/typescript.vim @@ -355,7 +355,7 @@ function GetTypescriptIndent() " If the line is empty and the previous nonblank line was a multi-line " comment, use that comment's indent. Deduct one char to account for the " space in ' */'. - if line =~ '^\s*$' && s:IsInMultilineComment(prevline, 1) + if line =~ '^\s*$' && yats#IsInMultilineComment(prevline, 1) return indent(prevline) - 1 endif |