thoughtbot / thoughtbot/dotfiles
Error detected while processing ~/.vimrc: line 176: E474: Invalid argument: diffopt+=vertical
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8.2k
- Forks
- 1.8k
- Avg merge
- 10d 14h
- Merged PRs (30d)
- 1
Description
Hi there,
I'm running Vim 8.1 on macOS Catalina. When I open Vim, I always get this error message.
Error detected while processing ~/.vimrc: line 176: E474: Invalid argument: diffopt+=vertical Press ENTER or type command to continue
Removing the "+" seemed to have silenced the error, but, because I'm a Vim neophyte I'm not convinced that this is the correct solution.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at vimrc line 176, where the diffopt setting produces E474 in Vim 8.1 on macOS Catalina. Check the supported value and syntax for diffopt, then verify that opening Vim no longer shows the startup error while preserving the intended configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100