Add log syntax, closes #394

This commit is contained in:
Adam Stankiewicz
2019-06-08 12:48:22 +02:00
parent 7aae831309
commit 957228cc25
4 changed files with 175 additions and 1 deletions

View File

@@ -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