mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 03:53:52 -05:00
Build
This commit is contained in:
@@ -562,8 +562,12 @@ if index(g:polyglot_disabled, 'lua') == -1
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if index(g:polyglot_disabled, 'mako') == -1
|
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 BufNewFile,BufRead *.mako set ft=mako
|
au BufNewFile *.*.mako execute "do BufNewFile filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype
|
||||||
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 BufNewFile,BufRead *.mao set ft=mako
|
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 BufNewFile,BufRead *.mao set ft=mako
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if index(g:polyglot_disabled, 'mathematica') == -1
|
if index(g:polyglot_disabled, 'mathematica') == -1
|
||||||
|
|||||||
Reference in New Issue
Block a user