1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Maximum text widt in Markdown

This commit is contained in:
Bert Peters
2016-01-15 09:36:18 +01:00
parent acb714df6b
commit 63b33b6a08

View File

@@ -24,7 +24,8 @@ imap <F5> <Esc>:update<CR>:make<CR>
let g:syntastic_cpp_compiler="g++" let g:syntastic_cpp_compiler="g++"
let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic" let g:syntastic_cpp_compiler_options = "-std=c++11 -Wall -Wextra -Wpedantic"
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 autocmd Filetype python setlocal expandtab
autocmd Filetype markdown setlocal textwidth=79
" Remove trailing whitespace, always. " Remove trailing whitespace, always.
autocmd BufWritePre * :%s/\s\+$//e autocmd BufWritePre * :%s/\s\+$//e