Skip to content

Commit

Permalink
Fix diff for vim-better-whitespace issue
Browse files Browse the repository at this point in the history
Apple's diff util appears to have changed recently and broken what
vim-better-whitespace is expecting. This changes to use GNU diffutils to
work around the problem.

See:
ntpeters/vim-better-whitespace#160
  • Loading branch information
kstevens715 committed Dec 24, 2022
1 parent c2a49c1 commit 8f71a23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cask "postgres-unofficial"
cask "slack"

brew "chruby"
brew "diffutils"
brew "fontconfig"
brew "fzf"
brew "git"
Expand Down
8 changes: 4 additions & 4 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ vim.g.neoterm_autoscroll = 1
vim.g.neoterm_default_mod = 'botright'
vim.g.neoterm_size = 33
vim.g.ruby_indent_assignment_style = 'variable'
vim.g.better_whitespace_enabled=1
vim.g.strip_only_modified_lines=1
vim.g.strip_whitespace_confirm=0
vim.g.strip_whitespace_on_save=0 -- This stopped working for some reason.
vim.g.better_whitespace_enabled = 1
vim.g.strip_whitespace_confirm = 0
vim.g.strip_whitespace_on_save = 1
vim.g.strip_only_modified_lines = 1
vim.g['test#ruby#rspec#options'] = { all = '--format progress' }
vim.g['test#strategy'] = 'neoterm'
vim.o.autoread = true
Expand Down

0 comments on commit 8f71a23

Please sign in to comment.