Permalink
Browse files

Merge pull request #499 from brow/markdown_wrapping

Markdown wrap settings are hard to override
  • Loading branch information...
2 parents b74c879 + 4f1dd93 commit 3c5d2b0cd23f126a594c0431e3bdc3748a492901 @kalbasit kalbasit committed Jan 17, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 janus/vim/core/before/plugin/filetypes.vim
View
3 janus/vim/core/before/plugin/filetypes.vim
@@ -29,7 +29,8 @@ if has("autocmd")
endif
" Make sure all mardown files have the correct filetype set and setup wrapping
- au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn,txt} setf markdown | call s:setupWrapping()
+ au BufRead,BufNewFile *.{md,markdown,mdown,mkd,mkdn,txt} setf markdown
+ au FileType markdown call s:setupWrapping()
" Treat JSON files like JavaScript
au BufNewFile,BufRead *.json set ft=javascript

0 comments on commit 3c5d2b0

Please sign in to comment.