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/c5625ffedd61a01de1399afef6fbcd31f5cda72f below:

Set shiftwidth to tabstop if greather, fixes #648 · sheerun/vim-polyglot@c5625ff · 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

@@ -2678,6 +2678,10 @@ if !has_key(g:polyglot_is_disabled, 'autoindent')

2678 2678

let &tabstop = 2

2679 2679

endif

2680 2680 2681 +

if &shiftwidth > &tabstop

2682 +

let &shiftwidth = &tabstop

2683 +

endif

2684 + 2681 2685

let s:default_shiftwidth = &shiftwidth

2682 2686 2683 2687

func! s:get_shiftwidth(indents) abort

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