elixir-editors / vim-elixir

Vim configuration files for Elixir
http://elixir-lang.org/
Other
1.31k stars 156 forks source link

adding `end` to new function/module blocks #148

Closed desmondmonster closed 8 years ago

desmondmonster commented 8 years ago

the vim-ruby plugin will add an end on a newline when I define a class, method, block, etc. Does elixir-vim support this? If so, it's not working on my machine :/

arturts commented 8 years ago

from the README, the features included are Syntax highlighting, Filetype detection and Automatic indentation. For that functionality, take a look at vim-snippets. There's support for a lot of programming languages, including elixir.

desmondmonster commented 8 years ago

honestly I couldn't remember where the functionality came from : /

I'll check out vim-snippets. thanks!

desmondmonster commented 8 years ago

UPDATE: the library I was thinking of is https://github.com/tpope/vim-endwise.