mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-13 22:13:50 -05:00
Fix svelte branch name, closes #522
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user