1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 15:21:30 +01:00

vim: use spellcheck and wrapping for markdown files

This commit is contained in:
bretello 2021-05-19 10:39:44 +02:00
parent 9ae5b71263
commit 3acebef599

View File

@ -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