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