Add filetype plugin and plaintext width

This commit is contained in:
Adam Gausmann 2019-04-23 21:35:58 -05:00
parent 328ca86aac
commit a98ed638f4

View file

@ -13,14 +13,13 @@ set hlsearch
set incsearch
set lazyredraw
set directory=~/.vim/tmp
filetype plugin on
" indentation
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
filetype indent on
" custom file types
filetype plugin indent on
autocmd FileType yaml,yml setlocal tabstop=2 softtabstop=2 shiftwidth=2
autocmd FileType markdown,plaintex,rst,tex,text setlocal textwidth=79