mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-06 21:45:10 +01:00
Markdown highlighting in vim
This commit is contained in:
6
.vim/ftdetect/markdown.vim
Normal file
6
.vim/ftdetect/markdown.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
" 2014-02-27 force certain files to be highlighted with Markdown syntax
|
||||
augroup filetypedetect
|
||||
autocmd BufNew,BufNewFile,BufRead *.txt,*.text,*.md,*.markdown :setfiletype markdown
|
||||
augroup END
|
||||
" 2014-02-28 this really fixes the filetype recognition
|
||||
autocmd BufWinEnter *.{md,mkd,mkdn,mark*,txt,text} silent setf markdown
|
||||
Reference in New Issue
Block a user