vim-sh-indent
vim-sh-indent copied to clipboard
[Wrong indent for keyword like 'do']
After type word like docker which have the keyword do, the indent will deleted incorrectly.
hello() {
docker
}
Maybe the keyword like do indention should be checked after newline inserted.
It's probably this one here:
https://github.com/chrisbra/vim-sh-indent/blob/c646b1ac2662574bac53e09d702addb902cda03c/indent/sh.vim#L41
But if I remove this, then do won't be de-indented. Note sure if this is okay