No indent on plain text

861af9b8092cf34cc6d38f0fc29836ef6248c561
Alexis Sellier committed ago 1 parent 1fc5a35b
.vimrc +1 -0
114 114
au FileType c,cpp       setlocal       sw=4 noexpandtab
115 115
au FileType lua         setlocal       sw=2 expandtab
116 116
au FileType sh,zsh      setlocal ts=2  sw=2 noexpandtab
117 117
au FileType vim,ruby    setlocal sts=2 sw=2 expandtab
118 118
au FileType help        setlocal ts=4  sw=4 noexpandtab
119 +
au FileType txt         setlocal noai nocin nosi inde=
119 120
120 121
" Remove trailing whitespace on save
121 122
autocmd BufWritePre * call s:StripTrailing()
122 123
function! s:StripTrailing()
123 124
    let l = line(".")