Permalink
Browse files

Moving markdown into common autocmd section

  • Loading branch information...
1 parent a5aafc8 commit c8375cd3f0b90e1f42924f56db05bdc884136993 @mecury421 committed Oct 8, 2012
Showing with 7 additions and 11 deletions.
  1. +7 −11 vimrc
View
@@ -55,6 +55,13 @@ if has("autocmd")
" reload the vimrc file if we have just made changes to it!
autocmd bufwritepost .vimrc source $MYVIMRC
+
+
+ " ============================================
+ " = MARK DOWN SYNTAX
+ " ============================================
+ autocmd BufNewFile,BufReadPost *.mkd,*.markdown,*.md set filetype=mkd
+
endif
" ============================================
@@ -65,14 +72,3 @@ augroup filetype
au! BufRead,BufNewFile *.proto setfiletype proto
augroup end
-" ============================================
-" = MARK DOWN SYNTAX
-" ============================================
-
-" do we have autocmd?
-if has("autocmd")
-
- " set file type as markdown
- autocmd BufNewFile,BufReadPost *.mkd,*.markdown,*.md set filetype=mkd
-endif
-

0 comments on commit c8375cd

Please sign in to comment.