summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2017-09-25 10:55:27 +0200
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2017-09-25 10:55:27 +0200
commit006ecb8041470b35a8d5834fc058006aaf901bbf (patch)
tree1638e7b2feae3df13d4713cbb6c7b66b9f92e99b /.vimrc
parentUpdate HiCursorWords - once more (diff)
downloadvim_sync-006ecb8041470b35a8d5834fc058006aaf901bbf.tar.xz
Add expandtab to the .txt documents
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 3a3560c..f7b73a3 100644
--- a/.vimrc
+++ b/.vimrc
@@ -124,7 +124,7 @@ au BufRead *TAG_EDITMSG set spell spelllang=en textwidth=80
au BufRead *.c set spell spelllang=en
au BufRead *.cpp set spell spelllang=en
au BufRead *.h set spell spelllang=en
-au BufRead *.txt set spell spelllang=cs
+au BufRead *.txt set spell expandtab spelllang=cs
au BufRead *.yml set expandtab tabstop=2 shiftwidth=2 spell spelllang=en
au BufRead *.kv set expandtab tabstop=4 shiftwidth=4 spell spelllang=en
au Filetype python setlocal expandtab tabstop=4 shiftwidth=4 spell spelllang=en