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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user