summaryrefslogtreecommitdiffstats
path: root/plugin/sleuth.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-04 14:23:18 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-04 14:23:18 +0200
commitc30ba66d2211d0c5764855d099e171fb2cd1108d (patch)
tree59df6eb3f549279374c765ef746e81422d17f419 /plugin/sleuth.vim
parent4df00e657481fa77c129acdda4d2b367cf64afab (diff)
downloadvim-polyglot-c30ba66d2211d0c5764855d099e171fb2cd1108d.tar.gz
vim-polyglot-c30ba66d2211d0c5764855d099e171fb2cd1108d.zip
Let user select tabstop, by not changing it
Diffstat (limited to '')
-rw-r--r--plugin/sleuth.vim3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugin/sleuth.vim b/plugin/sleuth.vim
index d7b9b773..a0bba8c4 100644
--- a/plugin/sleuth.vim
+++ b/plugin/sleuth.vim
@@ -100,9 +100,6 @@ function! s:guess(lines) abort
return {'expandtab': 0, 'shiftwidth': &tabstop}
elseif heuristics.soft != heuristics.hard
let options.expandtab = heuristics.soft > heuristics.hard
- if heuristics.hard
- let options.tabstop = 2
- endif
endif
return options