vim-polyglot/ftdetect/markdown.vim

7 lines
191 B
VimL
Raw Normal View History

2013-09-12 11:24:09 -04:00
autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn
\ if &ft =~# '^\%(conf\|modula2\)$' |
\ set ft=markdown |
\ else |
\ setf markdown |
\ endif