Fix vimrc
d8a4ae926662729fd8b3a47a87ddad5dcd7287f5
1 parent
b54efd6e
.vimrc
+2 -1
| 120 | 120 | au FileType txt setlocal noai nocin nosi inde= wrap linebreak |
|
| 121 | 121 | au FileType pandoc setlocal nonumber |
|
| 122 | 122 | au FileType markdown setlocal nonumber |
|
| 123 | 123 | au FileType fountain setlocal nonumber noai nocin nosi inde= wrap linebreak |
|
| 124 | 124 | ||
| 125 | - | au BufRead,BufNewFile *.txt, *.md setf markdown |
|
| 125 | + | au BufRead,BufNewFile *.txt setf markdown |
|
| 126 | + | au BufRead,BufNewFile *.md setf markdown |
|
| 126 | 127 | au BufRead,BufNewFile *.tex setf tex |
|
| 127 | 128 | ||
| 128 | 129 | " Remove trailing whitespace on save |
|
| 129 | 130 | autocmd BufWritePre * call s:StripTrailing() |
|
| 130 | 131 | function! s:StripTrailing() |