-
Notifications
You must be signed in to change notification settings - Fork 455
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
Massive theme overhaul #62
Conversation
First, impressive work! This looks much easier to maintain in my eyes, and was far more readable. ∞ 👍 just for that. I have a couple of thoughts
let g:dracula_italic = 0 to my vimrc and got this error on startup (though it did disable the italic thing).
|
Thanks for the feedback!
|
Fixed list item 2. |
That's awesome, super excited for this! 👊 |
Just kidding. Now list item 2 should be fixed. |
let s:pink = ['#FF79C6', 212] | lockvar s:pink | ||
let s:purple = ['#BD93F9', 141] | lockvar s:purple | ||
let s:red = ['#FF5555', 203] | lockvar s:red | ||
let s:yellow = ['#F1FA8C', 228] | lockvar s:yellow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to mention: The fallback 256-color codes (index 1) of all the colors listed above were chosen by running the actual rgb color of the theme colors through this library, which claims to algorithmically choose the closest match.
Not perfect, but close enough for a fallback IMHO.
|
Of note: I use neovim. Maybe there's a discrepancy between vim and neovim there? |
PS: Where are you seeing In neovim, when I query |
I'm not sure precisely what highlighting the vimdiff uses (though likely from the file I mentioned above). I encounter it most often when writing This is the
|
Re: The discrepancies between vim and neovim...Suggestions on what to do here? Re: the git stuff....Ohhhhhhhhhh.. Okay now I see. You're not committing within vim, using vim, but rather you're committing and writing your commit message with vim (your $EDITOR). I thought you were using a plugin (git-fugitive, etc) or something and this showed up. Got it. I can reproduce this now. I'll adjust so that the diffs match the vimdiff groups later this evening when I get some free time. 👍 |
Commit diffs are fixed |
colors/dracula.vim
Outdated
hi! link diffNewFile DraculaRed | ||
|
||
hi! link diffLine DraculaPurpleBold | ||
hi! link diffLine DraculaCyanItalic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason this looks suspiciously like copy paste (by which I mean, why highlight link the same group twice) ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch... I was checking a few options to see what looked best and forgot to prune away the ones that didn't end up making the cut.
Re: vim/nvim Decide on a style and do it explicitly so that it works for both? For example, I don't think there's anything wrong with explicitly linking hi! link SignColumn DraculaComment which I took from the Re: |
Re: Re: |
Yeah, not my cup of tea. That line would drive me nuts. 😝 Can we keep as-is and then just have people who like that just override in their vimrc? |
Of course. Since I'm doing it anyway, I can even include the "fix" 😜 in the docs |
Anything left on my end to do before we can call this ready to merge? |
Not that I'm aware of; you've handled all of my feedback (though I'm certainly not the only one who should have a voice here). I'm inches from finishing the help doc. Expect to see soon. |
@zenorocha Any issues with merging? Everything checks out from my end. |
* Ignore the tags file generated by :helptags * Write the help file
Haven't heard any further feedback on this and AFAIK, it's good to go. Since this shouldn't cause any breaking changes, I'm gonna go ahead and merge this into master and tag version 1.3.0. Thanks for the feedback @benknoble. |
This PR is an attempt to normalize the Vim Dracula implementation in its current form according to the running specification that I proposed in the main repository.
The PR is a baseline for further scrutinization. It is in no way complete, however I did have the opportunity to test and confirm all the languages that were explicitly targeted in the existing implementation are highlighted appropriately in accordance to the above specification.
Along with the obvious fact that this is more or less a complete rewrite, the following notible changes were made:
Dracula<xxx>
highlight scopes were made, which existing highlight scopes are then linked to to allow for slightly better startup performance and, more importantly, easier debugging with:hi<CR>
Anyway, I'll leave it at that for now. Curious to hear what you all think.
Closes #25
Closes #37
Closes #45
Closes #46
Closes #48
Closes #50
Also, this negates the need for #42, so that can probably be closed.
CC: @zenorocha, @benknoble