vimrc/sources_non_forked/vim-markdown/ftdetect/markdown.vim
2012-08-16 23:41:25 -04:00

6 lines
191 B
VimL

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