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/0a2f2cc04d39f996d5afcdbc99f5b4190f094bbb below:

Fix old nvim, closes #592 · sheerun/vim-polyglot@0a2f2cc · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

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

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

2645 2645

let max_count = 0

2646 2646

let final_counts = {}

2647 2647

for [indent, indent_count] in items(a:indents)

2648 -

let indent_count *= 1.5

2648 +

let indent_count = indent_count * 1.5

2649 2649

for [indent2, indent2_count] in items(a:indents)

2650 2650

if indent2 > indent && indent2 % indent == 0

2651 -

let indent_count += indent2_count

2651 +

let indent_count = indent_count + indent2_count

2652 2652

endif

2653 2653

endfor

2654 2654

let final_counts[indent] = indent_count

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