Auto-wrap markdown text at 119 characters

This commit is contained in:
ItsDrike 2021-09-16 22:23:48 +02:00
parent f601d345f9
commit 216369feb1
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

View file

@ -13,3 +13,5 @@ autocmd BufWritePre * %s/\s\+$//e
" Enable spellcheck for certain file types " Enable spellcheck for certain file types
autocmd FileType tex,latex,markdown,gitcommit setlocal spell spelllang=en_us autocmd FileType tex,latex,markdown,gitcommit setlocal spell spelllang=en_us
" Use automatic text wrapping at 119 characters for certain file types
autocmd FileType markdown setlocal textwidth=119