mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 12:03:53 -05:00
Let user select tabstop, by not changing it
This commit is contained in:
@@ -100,9 +100,6 @@ function! s:guess(lines) abort
|
|||||||
return {'expandtab': 0, 'shiftwidth': &tabstop}
|
return {'expandtab': 0, 'shiftwidth': &tabstop}
|
||||||
elseif heuristics.soft != heuristics.hard
|
elseif heuristics.soft != heuristics.hard
|
||||||
let options.expandtab = heuristics.soft > heuristics.hard
|
let options.expandtab = heuristics.soft > heuristics.hard
|
||||||
if heuristics.hard
|
|
||||||
let options.tabstop = 2
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
return options
|
return options
|
||||||
|
|||||||
Reference in New Issue
Block a user