diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-15 17:27:14 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-11-15 17:27:14 +0100 |
commit | d15651463ab5c3dd6609e548527a8ea18ab80c98 (patch) | |
tree | d148d7d3f48beefe0d1b7864355ff54ea6b55f50 /indent | |
parent | 0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2 (diff) | |
download | vim-polyglot-4.1.1.tar.gz vim-polyglot-4.1.1.zip |
Updatev4.1.1
Diffstat (limited to 'indent')
-rw-r--r-- | indent/typescript.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indent/typescript.vim b/indent/typescript.vim index cf2d107a..f630a34c 100644 --- a/indent/typescript.vim +++ b/indent/typescript.vim @@ -67,8 +67,8 @@ let s:var_stmt = '^\s*var' let s:comma_first = '^\s*,' let s:comma_last = ',\s*$' -let s:ternary = '^\s\+[?|:]' -let s:ternary_q = '^\s\+?' +let s:ternary = '^\s\+[?:]' +let s:ternary_q = '^\s\+?[.?]\@!' " 2. Auxiliary Functions {{{1 " ====================== |