vimrc/sources_non_forked/vim-markdown/ftdetect/markdown.vim

7 lines
191 B
VimL
Raw Normal View History

2012-08-17 03:41:25 +00:00
autocmd BufNewFile,BufRead *.markdown,*.md,*.mdown,*.mkd,*.mkdn
\ if &ft =~# '^\%(conf\|modula2\)$' |
\ set ft=markdown |
\ else |
\ setf markdown |
\ endif