Skip to content

Commit

Permalink
Vimrc: Set ft=markdown for all markdown files.
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbasit committed Nov 3, 2011
1 parent 4fc7f1b commit 9b725e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vimrc
Expand Up @@ -110,8 +110,8 @@ au FileType make set noexpandtab
" Set the Ruby filetype for a number of common Ruby files without .rb
au BufRead,BufNewFile {Gemfile,Rakefile,Vagrantfile,Thorfile,config.ru,*.rake} set ft=ruby

" Markdown and txt files should wrap
au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn,txt} call s:setupWrapping()
" Make sure all mardown files have the correct filetype set and setup wrapping
au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn,txt} set ft=markdown | call s:setupWrapping()

" Treat JSON files like JavaScript
au BufNewFile,BufRead *.json set ft=javascript
Expand Down

0 comments on commit 9b725e1

Please sign in to comment.