vim-castle/home/.vim/ftdetect/markdown.vim
2015-01-14 17:28:12 -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