Browse Source

activated spellcheck for txt files and changed some file-specific settings to local

bananicorn 5 years ago
parent
commit
538eca635b
1 changed files with 8 additions and 1 deletions
  1. 8 1
      .vimrc

+ 8 - 1
.vimrc

@@ -119,10 +119,17 @@ autocmd!
 	au BufWritePost *.pov !povray .
 augroup END
 
+"for the regular text
+augroup txt
+autocmd!
+	au BufReadPost *.txt setlocal spell
+	au BufReadPost *.txt setlocal tw=80
+augroup END
+
 "for tsv files - which I like to be nicely aligned
 augroup tsv
 autocmd!
-	au BufReadPost *.tsv set tabstop=20
+	au BufReadPost *.tsv setlocal tabstop=20
 augroup END
 
 "for the twig templating language