-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix vim #89
Fix vim #89
Conversation
I don't see any Clearing highlights would make our job easier, but I'm worried it might break things unexpectedly. For example changing a theme with |
Tinted-vim sets the foreground of
We would only clear the highlights set by tinted-vim, so highlights set by plugins should be untouched (unless we set them explicitly). |
Ah ok, yeah clearing the highlights we work with makes sense. |
- Simplify terminal color configuration by using a single array - Remove duplicate color variable declarations - Consolidate terminal color setup for Neovim and Vim - Add function to create color globals dynamically - Fix help documentation formatting and alignment - Update highlight function to clear existing highlights first - Add fallback for pre-Neovim VertSplit highlight group
Just checked the PR:
if exists('g:tinted-vim')
finish
endif
let g:loaded_yourplugin = 1 The
As I'm using colours set in the shell (kinda like |
Thanks a lot for the review!
Fixed, was a typo.
You are right was an artifact from some template, I removed it.
Good catch!
Without |
Description
Fixes #86.
What is still an issue, is that Vim defines other Default highlights than Nvim. Check
ErrMsg
highlight as an example.Should we clear the used highlights by default, so that we start from a clean state? @JamyGolden?
Checklist
./colors/*.vim
in a separate commit and followed the build instructions