From 9bea067fbe9583f4f287f0975dae775b0207a985 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 6 Oct 2022 15:37:46 +0200 Subject: [PATCH] vimrc: add settings for markdown --- .vim/vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vim/vimrc b/.vim/vimrc index 2d7d93e..eca1c0f 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -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