Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is a simple plugin that helps to end certain structures
automatically. In Ruby, this means adding `end` after `if`, `do`, `def`
and several other keywords. In Vimscript, this amounts to appropriately
adding `endfunction`, `endif`, etc. There's also Bourne shell, VB
(don't ask), C/C++ preprocessor, and Lua support.
(don't ask), C/C++ preprocessor, Lua, and Julia support.

A primary guiding principle in designing this plugin was that an
erroneous insertion is never acceptable. The behavior is only triggered
Expand Down
4 changes: 4 additions & 0 deletions plugin/endwise.vim
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ augroup endwise " {{{1
\ let b:endwise_addition = 'end' |
\ let b:endwise_words = 'function,if,for' |
\ let b:endwise_syngroups = 'matlabStatement,matlabFunction,matlabConditional,matlabRepeat'
autocmd FileType julia
\ let b:endwise_addition = 'end' |
\ let b:endwise_words = 'if,for,while,begin,function,macro,quote,type,immutable,let,do,module,baremodule,try' |
\ let b:endwise_syngroups = 'juliaConditional,juliaRepeat,juliaBlKeyword,juliaException'
autocmd FileType * call s:abbrev()
augroup END " }}}1

Expand Down