Przeglądaj źródła

Use Vim's shipped Markdown

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