Skip to content

Commit

Permalink
Add "else" and "fi" to indentkeys (cf. #1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Mar 20, 2018
1 parent a4211c8 commit 956004d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indent/tex.vim
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set cpoptions&vim
setlocal autoindent
setlocal indentexpr=VimtexIndentExpr()
setlocal indentkeys&
setlocal indentkeys+=[,(,{,),},],\&,=item
setlocal indentkeys+=[,(,{,),},],\&,=item,=else,=fi

function! VimtexIndentExpr() abort " {{{1
return VimtexIndent(v:lnum)
Expand Down

0 comments on commit 956004d

Please sign in to comment.