Skip to content

Commit

Permalink
Add support for more MATLAB control flow
Browse files Browse the repository at this point in the history
Resolves: tpope#134
  • Loading branch information
3719e04 authored May 15, 2022
1 parent 720b3ee commit 4ed852d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/endwise.vim
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ augroup endwise " {{{1
\ let b:endwise_syngroups = 'verilogConditional,verilogLabel,verilogStatement'
autocmd FileType matlab
\ let b:endwise_addition = 'end' |
\ let b:endwise_words = 'function,if,for' |
\ let b:endwise_syngroups = 'matlabStatement,matlabFunction,matlabConditional,matlabRepeat'
\ let b:endwise_words = 'function,if,for,switch,while,try' |
\ let b:endwise_syngroups = 'matlabStatement,matlabFunction,matlabConditional,matlabRepeat,matlabLabel,matlabExceptions'
autocmd FileType htmldjango
\ let b:endwise_addition = '{% end& %}' |
\ let b:endwise_words = 'autoescape,block,blocktrans,cache,comment,filter,for,if,ifchanged,ifequal,ifnotequal,language,spaceless,verbatim,with' |
Expand Down

0 comments on commit 4ed852d

Please sign in to comment.