vim-castle/.vim/ftdetect/markdown.vim
2015-01-14 20:59:39 -06:00

6 lines
190 B
VimL

autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn
\ if &ft =~# '^\%(conf\|modula2\)$' |
\ set ft=markdown |
\ else |
\ setf markdown |
\ endif