diff options
author | Tim Bedard <tpbedard@gmail.com> | 2020-08-29 05:17:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 12:17:29 +0200 |
commit | d4fcef1aa835f20f4f9df41eceb406b66f446f70 (patch) | |
tree | fefde3b55f606155305e6c607b062a7c60c6e8a3 /ftdetect | |
parent | 7972e8eea10ce6420443713b74224fc185d22db9 (diff) | |
download | vim-polyglot-d4fcef1aa835f20f4f9df41eceb406b66f446f70.tar.gz vim-polyglot-d4fcef1aa835f20f4f9df41eceb406b66f446f70.zip |
add missing period to fix mako detection (#530)
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 8d6ac9f9..d69d31c9 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -566,10 +566,10 @@ endif if index(g:polyglot_disabled, 'mako') == -1 au BufNewFile *.*.mako execute "do BufNewFile filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype - au BufReadPre *.*mako execute "do BufRead filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype + au BufReadPre *.*.mako execute "do BufRead filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype au BufNewFile,BufRead *.mako set ft=mako au BufNewFile *.*.mao execute "do BufNewFile filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype - au BufReadPre *.*mao execute "do BufRead filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype + au BufReadPre *.*.mao execute "do BufRead filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype au BufNewFile,BufRead *.mao set ft=mako endif |