-
Notifications
You must be signed in to change notification settings - Fork 454
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
No colors since cd18ffb #140
Comments
What's the output of |
Vim version is 8.1.1186 and the output is here: http://ix.io/1Kio and the extension works if I manually revert it to the commit bfbc3ca (the one immediately before the last one). |
Yep, I have no idea... That's being loaded and Lines 1 to 6 in cd18ffb
Ping: @benknoble -- thoughts? |
One thing I will mention though that seems odd is how your runtime paths are set up... You've got nested directories that aren't standard at the root level of your package paths. I'm not a native package manager user so maybe that's normal, but that looks strange to me. |
Aha... I think I see the issue. Rename the directory that contains this repo from (might not be the issue, but it figured it's worth a try) |
Nope, doesn't fix the issue. |
Darn. No idea then. I'll wait to hear back from someone else on this. I use neovim and I can't reproduce this. |
Oh, I think the problem is that Vim is trying to load |
That shouldn't matter (and it's actually expected) since |
I think it does matter, because I changed my .vimrc to a different color scheme and then when I'm in Vim i did |
That's an error with your vim implementation then. The purpose of autoloads are to load on demand when needed. See |
OK, I got the latest version of Vim (8.1.1413) and compiled it from the source, and I still have the same problem. I don't think it's a problem with Vim tho, because the issue doesn't happen with any other plugins. |
Here's what I've been able to identify so far as a user of vim's native packages: Prior to packages loading (?? maybe... certainly prior to
Once packages have loaded:
So clearly, the autoload can't be found because of the package. The relevant help entry states:
So, solutions would be (to me)
|
Isn't this what we have been telling people? That same sentiment is true for all other package managers. |
No? It works if I add it, btw. |
Would you or other users expect the dracula theme and functionality to be available and working prior to loading the dracula theme? That's what I'm not quite wrapping my head around. How and where do you both recommend this be stated? |
I don’t mind going with solution number 1 above, but we need to announce it
And be prepared to close issues as people upgrade. The problem is, we haven’t been telling folks this, and by some miracle that I still don’t understand, it was working fine before even without |
Just passing by to say thanks for the great colorscheme and reporting that the same problem just happened on Neovim, right after updating the plugin. It loads smoothly after running |
Do you have a link to your |
@dsifford with some digging: https://github.com/lsrdg/dotfiles/tree/a66fd9c8f3a3e4bcd19ef66a8573c001d00eec8d Didn't see anything re: dracula I'm happy to put together the necessary PRs for #140 (comment) |
Yep, same issue.... Red should come after blue. @benknoble Sounds good to me. Thanks! |
Reset dracula-vim to bfbc3cadbd142e74d3b92e63f1de8711261015a4 as the master branch has some errors that have not yet been fixed. dracula/vim#140
@dsifford and @benknoble , Sorry, have moved away from github. The Nvim v0.3.7. Let me know if I can help, and thank you both for maintaining the project. o/ |
Not sure what to tell ya then. Can't begin to debug something I can't reproduce. Some might suggest to just revert back to the old commit, however that commit, too, is broken. If you don't load dracula initially as your first color scheme, running |
@lsrdg based on my understanding of So, the solution is still
|
@benknoble
Proposed solution 2 from #140 (comment) does apply the theme, but the very verbose errors are still outputted upon starting Neovim:
Manually sourcing the autoload file works:
Alternatively, users of minpac can check out the prior commit by adding the following to your init.vim or .vimrc:
The |
Also, #143 (comment). |
I realize this issue is closed, but I have this issue... I've tried with pathogen (although my .vim isn't a git repository so the instructions are somewhat off there)
Because I'm not using git for my .vim directory, I tried doing This throws an error of
Line 11 and 12 of my .vimrc are
Which actually coincides with the manual instructions on the website...
But, if I just move the dracula.vim file to ~/.vim/colors.... then I get the same output of the first screenshot in the original bug as output.... |
@digitallyelite it looks like the site instructions have not yet been updated. Can you try the recommendations in the README? |
@benknoble thanks for that - |
@digitallyelite there is now more than one |
Just an update for anyone that cares: if you place |
What happened
Vim doesn't render the color scheme since the commit cd18ffb. Log of related parts: http://ix.io/1Kiq
What I expected to happen
Vim to render the color scheme correctly I guess?
Screenshot
Machine Info
vim
/gvim
/neovim
): vimTERM
environment variable: xterm-kittyThe text was updated successfully, but these errors were encountered: