summaryrefslogtreecommitdiffstats
path: root/indent/typescript.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-12-29 19:44:40 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-12-29 19:44:40 +0100
commit95d82fdb668b746ac100a8b7d2aca38038150707 (patch)
tree19f2e80acbab5efe1d35630faafb5e24d7230fd8 /indent/typescript.vim
parent73c518717741fb3ebb6822645d38f37ffae7c19b (diff)
downloadvim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.tar.gz
vim-polyglot-95d82fdb668b746ac100a8b7d2aca38038150707.zip
Update
Diffstat (limited to 'indent/typescript.vim')
-rw-r--r--indent/typescript.vim2
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