Browse Source

Use Vim's shipped Markdown

Alois Mahdal 9 years ago
parent
commit
7dfd9ade0b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dotfiles/vim/vimrc

+ 1
- 0
dotfiles/vim/vimrc View File

66
   augroup vimrcEx
66
   augroup vimrcEx
67
   au!
67
   au!
68
   autocmd FileType text setlocal textwidth=78
68
   autocmd FileType text setlocal textwidth=78
69
+  autocmd BufNewFile,BufReadPost *.md set filetype=markdown
69
   autocmd BufReadPost *
70
   autocmd BufReadPost *
70
     \ if line("'\"") > 1 && line("'\"") <= line("$") |
71
     \ if line("'\"") > 1 && line("'\"") <= line("$") |
71
     \   exe "normal! g`\"" |
72
     \   exe "normal! g`\"" |