From 3acebef59940a0041686e35f0ba8760a633882f2 Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 19 May 2021 10:39:44 +0200 Subject: [PATCH] vim: use spellcheck and wrapping for markdown files --- vim/vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/vimrc b/vim/vimrc index 52216b9..2f4f86c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -45,6 +45,7 @@ set completeopt=menu,menuone,noselect,noinsert " Show completion suggestions in popups instead of preview window set completeopt+=popup +autocmd FileType markdown setlocal wrap spell autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab autocmd FileType go setlocal noexpandtab