diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2018-02-06 11:15:01 +0800 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2018-02-06 11:15:01 +0800 |
commit | 18efda3933a867dd21df483bbfeae52231783d46 (patch) | |
tree | a2af3be10f2140314656d1c2e0e53ef1a1c1b6c6 /ftplugin/elixir.vim | |
parent | bfc6ed9fbafc0758aaab228df70a3656368d8497 (diff) | |
download | vim-polyglot-18efda3933a867dd21df483bbfeae52231783d46.tar.gz vim-polyglot-18efda3933a867dd21df483bbfeae52231783d46.zip |
Update
Diffstat (limited to 'ftplugin/elixir.vim')
-rw-r--r-- | ftplugin/elixir.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index 7219cb95..c02bff35 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -32,6 +32,10 @@ let &l:path = setlocal includeexpr=elixir#util#get_filename(v:fname) setlocal suffixesadd=.ex,.exs,.eex,.erl,.yrl,.hrl +if empty(&formatprg) + setlocal formatprg=mix\ format\ - +endif + let &l:define = 'def\(macro|guard|delegate\)p' silent! setlocal formatoptions-=t formatoptions+=croqlj |