Przeglądaj źródła

Use Vim's shipped Markdown

Alois Mahdal 10 lat temu
rodzic
commit
7dfd9ade0b
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      dotfiles/vim/vimrc

+ 1
- 0
dotfiles/vim/vimrc Wyświetl plik

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`\"" |