Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlighting extra whitespace fails with molokai #27

Open
psankar opened this issue Jan 2, 2014 · 0 comments
Open

highlighting extra whitespace fails with molokai #27

psankar opened this issue Jan 2, 2014 · 0 comments

Comments

@psankar
Copy link

psankar commented Jan 2, 2014

In my ~/.vimrc there is a setting to highlight extra whitespace in the line ends. It fails to highlight with the molokai scheme but shows the spaces fine in other themes.

My settings:

" Make trailing whitespace annoyingly highlighted.
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s+$/
autocmd BufWinEnter * match ExtraWhitespace /\s+$/
autocmd InsertEnter * match ExtraWhitespace /\s+%#@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s+$/
autocmd BufWinLeave * call clearmatches()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant