vimrc: add settings for markdown

This commit is contained in:
surtur 2022-10-06 15:37:46 +02:00
parent c783fc8438
commit 9bea067fbe
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -617,6 +617,10 @@ au BufNewFile,BufRead *.js
\ setlocal shiftwidth=4 tabstop=4 softtabstop=4 expandtab autoindent
\ fileformat=unix filetype=js
au BufNewFile,BufRead,BufEnter *.md
\ setlocal textwidth=79 foldmethod=manual filetype=markdown
\ fileformat=unix expandtab
au FileType sway setl textwidth=99
\ tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent