mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
vim: use spellcheck and wrapping for markdown files
This commit is contained in:
parent
9ae5b71263
commit
3acebef599
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user