A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sheerun/vim-polyglot/commit/29ec69ffa095a16fe15e4c63c1a6ba90974efd74 below:

Set default tabstop to 2, but only if not changed · sheerun/vim-polyglot@29ec69f · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+4

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+4

-0

lines changed Original file line number Diff line number Diff line change

@@ -2634,6 +2634,10 @@ if !has_key(s:disabled_packages, 'autoindent')

2634 2634

" Code below re-implements sleuth for vim-polyglot

2635 2635

let g:loaded_sleuth = 1

2636 2636 2637 +

if &tabstop == 8

2638 +

let &tabstop = 2

2639 +

endif

2640 + 2637 2641

func! s:get_shiftwidth(indents) abort

2638 2642

let shiftwidth = 0

2639 2643

let max_count = 0

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4