1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Markdown highlighting in vim

This commit is contained in:
Michiel Scholten
2014-05-05 20:48:30 +02:00
parent 1c8c480b91
commit de7aff80ed

View File

@@ -0,0 +1,6 @@
" 2014-02-27 force certain files to be highlighted with Markdown syntax
augroup filetypedetect
autocmd BufNew,BufNewFile,BufRead *.txt,*.text,*.md,*.markdown :setfiletype markdown
augroup END
" 2014-02-28 this really fixes the filetype recognition
autocmd BufWinEnter *.{md,mkd,mkdn,mark*,txt,text} silent setf markdown