summaryrefslogtreecommitdiffstats
path: root/autoload/crystal/indent.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-06-07 17:37:15 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-06-07 17:37:15 +0200
commitff066ee9f001ee7c35bd78cc00fa253a238aacda (patch)
tree6068b72491c2a48082c2d428316ad68752d5f13f /autoload/crystal/indent.vim
parent5b3866302755da9e5a917ca42a38a4a03fb5f3e5 (diff)
downloadvim-polyglot-ff066ee9f001ee7c35bd78cc00fa253a238aacda.tar.gz
vim-polyglot-ff066ee9f001ee7c35bd78cc00fa253a238aacda.zip
Update
Diffstat (limited to 'autoload/crystal/indent.vim')
-rw-r--r--autoload/crystal/indent.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/crystal/indent.vim b/autoload/crystal/indent.vim
index 63908254..d5a02de9 100644
--- a/autoload/crystal/indent.vim
+++ b/autoload/crystal/indent.vim
@@ -89,7 +89,7 @@ let g:crystal#indent#non_bracket_continuation_regex =
\ '\|' .
\ '\%(\%(\<do\>\|%\@1<!{\)\s*|[^|]*\)\@<!|' .
\ '\|' .
- \ '\W?' .
+ \ '\%(]\|\w\)\@1<!?' .
\ '\|' .
\ '\<\%(if\|unless\)\>' .
\ '\|' .