vim-castle/.vim/ftdetect/markdown.vim

6 lines
190 B
VimL
Raw Normal View History

2015-01-14 23:28:12 +00:00
autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn
\ if &ft =~# '^\%(conf\|modula2\)$' |
\ set ft=markdown |
\ else |
\ setf markdown |
\ endif