Skip to content

Commit

Permalink
Fix bug with double spaces before =
Browse files Browse the repository at this point in the history
  • Loading branch information
Felixoid committed Mar 19, 2018
1 parent e3eed31 commit 07ceb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion after/plugin/puppet_tabular.vim
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if exists(':AddTabularPipeline')
endif
" Splitting by first '$attribute' and '='
if g:puppet_align_classes
call tabular#TabularizeStrings(attributes, '\v^[^$]*\zs\s*\$\w+(>|,?)|\=', 'l1')
call tabular#TabularizeStrings(attributes, '\v^[^$]*\zs\s*\$\w+(>|,?)|\=', 'l1l0r1')
endif
call map(a:lines, 'remove(attributes, 0) . remove(noise, 0) . remove(selectors, 0)')
endfunction
Expand Down

0 comments on commit 07ceb09

Please sign in to comment.