From 3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Mon, 30 Apr 2018 12:00:42 -0700 Subject: Update (periodic rebuild) I originally meant to run this before adding haproxy, but accidentally pushed that into my branch. If you'd like to see that content, it's at https://github.com/CH-DanReif/vim-polyglot/commit/414ad25c3ad1ab9c4b6a99fe4f08d6c30b7e0f57. --- ftplugin/elixir.vim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ftplugin/elixir.vim') diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim index c02bff35..debaa10a 100644 --- a/ftplugin/elixir.vim +++ b/ftplugin/elixir.vim @@ -32,11 +32,7 @@ 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' +let &l:define = 'def\(macro\|guard\|delegate\)\=p\=' silent! setlocal formatoptions-=t formatoptions+=croqlj -- cgit v1.2.3