Fix svelte branch name, closes #522

This commit is contained in:
Adam Stankiewicz
2020-08-14 19:15:07 +02:00
parent 34e01b8b62
commit a3bdbcdb3c
13 changed files with 346 additions and 15 deletions

View File

@@ -52,7 +52,7 @@ if b:ecrystal_indent_multiline
endif
setlocal indentexpr=GetEcrystalIndent()
setlocal indentkeys+=<>>,=end,=else,=elsif,=rescue,=ensure,=when
setlocal indentkeys+=<>>,=end,=else,=elsif,=rescue,=ensure,=when,=in
let b:did_indent = 1
@@ -71,10 +71,10 @@ let s:ecr_control_open = '<%%\@!-\=[=#]\@!'
let s:ecr_comment_open = '<%%\@!-\=#'
let s:ecr_indent_regex =
\ '\<\%(if\|unless\|else\|elsif\|case\|when\|while\|until\|begin\|do\|rescue\|ensure\|\)\>'
\ '\<\%(if\|unless\|else\|elsif\|case\|when\|in\|while\|until\|begin\|do\|rescue\|ensure\|\)\>'
let s:ecr_dedent_regex =
\ '\<\%(end\|else\|elsif\|when\|rescue\|ensure\)\>'
\ '\<\%(end\|else\|elsif\|when\|in\|rescue\|ensure\)\>'
" Return the value of a single shift-width
if exists('*shiftwidth')