1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-07 00:05:10 +01:00
Files
dotfiles/.vim/ftdetect/markdown.vim
2014-05-05 20:48:30 +02:00

7 lines
324 B
VimL

" 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