diff options
Diffstat (limited to 'autoload/crystal/indent.vim')
-rw-r--r-- | autoload/crystal/indent.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/crystal/indent.vim b/autoload/crystal/indent.vim index 3e8b07e5..4e9ddcf7 100644 --- a/autoload/crystal/indent.vim +++ b/autoload/crystal/indent.vim @@ -96,7 +96,7 @@ lockvar g:crystal#indent#block_regex " Regex that defines the beginning of a hanging expression. let g:crystal#indent#hanging_assignment_regex = \ '\%('.g:crystal#indent#operator_regex.'\s*\)\@<=' . - \ '\.\@1<!\<\%(if\||unless\|case\|begin\)\>' + \ '\.\@1<!\<\%(if\||unless\|case\|begin\|select\)\>' lockvar g:crystal#indent#hanging_assignment_regex " Regex that defines the start-match for the 'end' keyword. @@ -107,7 +107,7 @@ let g:crystal#indent#end_start_regex = \ '\%(\<\%(private\|protected\)\s\+\)\=' . \ '\%(\<\%(abstract\s\+\)\=\%(class\|struct\)\>\|\<\%(def\|module\|macro\|lib\|enum\|annotation\)\>\)' . \ '\|' . - \ '\<\%(if\|unless\|while\|until\|case\|begin\|union\)\>' . + \ '\<\%(if\|unless\|while\|until\|case\|begin\|union\|select\)\>' . \ '\)' . \ '\|' . \ g:crystal#indent#hanging_assignment_regex . @@ -1042,4 +1042,4 @@ endfunction " }}}1 -" vim:sw=2 sts=2 ts=8 fdm=marker et:
\ No newline at end of file +" vim:sw=2 sts=2 ts=8 fdm=marker et: |