vim-polyglot/ftdetect/markdown.vim
2013-09-12 17:24:09 +02:00

7 lines
191 B
VimL

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