diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 12:01:59 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 12:01:59 +1300 |
commit | aab02ca1d3f40c91d39222f5ee84dab187d8da0e (patch) | |
tree | a13848a456ee2f1fbf3c90e443b47995d92734be /vim | |
parent | Merge branch 'feature/vim-sh-syn' into develop (diff) | |
download | dotfiles-aab02ca1d3f40c91d39222f5ee84dab187d8da0e.tar.gz dotfiles-aab02ca1d3f40c91d39222f5ee84dab187d8da0e.zip |
Remove setting for 'tabstop'
:help 'tabstop' says that setting it may be a bad idea:
> Note: Setting 'tabstop' to any other value than 8 can make your file
> appear wrong in many places (e.g., when printing it).
On thinking about it, it's actually probably better to show literal tabs
as eight screen spaces, as it will make it very obvious when there are
tabs in the file.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/config/indent.vim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/vim/config/indent.vim b/vim/config/indent.vim index f6dfd416..aba4bbf7 100644 --- a/vim/config/indent.vim +++ b/vim/config/indent.vim @@ -11,9 +11,6 @@ set shiftwidth=4 " Insert four spaces when Tab is pressed set softtabstop=4 -" How many spaces to show for a literal tab when 'list' is unset -set tabstop=4 - " Indent intelligently to 'shiftwidth' at the starts of lines with Tab, but " use 'tabstop' everywhere else set smarttab |