Skip to content

Commit 99022e6

Browse files
haulethjbodah
authored andcommitted
Fix invalid define regex (elixir-editors#414)
1 parent 8c00d8c commit 99022e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/elixir.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if empty(&formatprg)
3434
setlocal formatprg=mix\ format\ -
3535
endif
3636

37-
let &l:define = 'def\(macro|guard|delegate\)p'
37+
let &l:define = 'def\(macro\|guard\|delegate\)\=p\='
3838

3939
silent! setlocal formatoptions-=t formatoptions+=croqlj
4040

0 commit comments

Comments
 (0)