Skip to content

Commit 07ceb09

Browse files
committed
Fix bug with double spaces before =
1 parent e3eed31 commit 07ceb09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

after/plugin/puppet_tabular.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if exists(':AddTabularPipeline')
5757
endif
5858
" Splitting by first '$attribute' and '='
5959
if g:puppet_align_classes
60-
call tabular#TabularizeStrings(attributes, '\v^[^$]*\zs\s*\$\w+(>|,?)|\=', 'l1')
60+
call tabular#TabularizeStrings(attributes, '\v^[^$]*\zs\s*\$\w+(>|,?)|\=', 'l1l0r1')
6161
endif
6262
call map(a:lines, 'remove(attributes, 0) . remove(noise, 0) . remove(selectors, 0)')
6363
endfunction

0 commit comments

Comments
 (0)