diff options
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index a3130217..11b4e060 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -706,6 +706,15 @@ au BufRead,BufNewFile *.td set filetype=tablegen augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'log') == -1 + augroup filetypedetect + " log, from log.vim in MTDL9/vim-log-highlighting + +au BufNewFile,BufRead *.log set filetype=log +au BufNewFile,BufRead *_log set filetype=log + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'mako') == -1 augroup filetypedetect " mako, from mako.vim in sophacles/vim-bundle-mako |