summaryrefslogtreecommitdiff
path: root/autoload/ale/filetypes.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/filetypes.vim')
-rw-r--r--autoload/ale/filetypes.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/autoload/ale/filetypes.vim b/autoload/ale/filetypes.vim
index 6cdc9ece..340a9c4e 100644
--- a/autoload/ale/filetypes.vim
+++ b/autoload/ale/filetypes.vim
@@ -4,9 +4,7 @@
function! ale#filetypes#LoadExtensionMap() abort
" Output includes:
" '*.erl setf erlang'
- redir => l:output
- silent exec 'autocmd'
- redir end
+ let l:output = execute('exec "autocmd"')
let l:map = {}