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

Strange errors #90

Closed
smokals opened this issue Jun 15, 2018 · 7 comments
Closed

Strange errors #90

smokals opened this issue Jun 15, 2018 · 7 comments

Comments

@smokals
Copy link

smokals commented Jun 15, 2018

What happened

Whenever I try to use the theme, I get a bunch of error messages.

What I expected to happen

No error messages.

Screenshot

image

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: 8.1
  • OS: Windows 10 version 10.0.17134 Build 17134
  • Terminal/Terminal Emulator/VTE: not quite sure what this is, I'm just running vim from cmd
  • TERM environment variable: also not sure what this is

Additional Info

Installed using vim-plug

@benknoble
Copy link
Member

What is the commit hash of your dracula installation?

@dsifford
Copy link
Member

This is line 57, which is being reported as an error by your vim distribution.

This is absolutely 100% valid vim syntax. So my guess is that your init scripts have something fishy going on.

@vwkoppejan
Copy link

I just spent a freaking hour on this. Typical case of PICNIC.

If you right click the dracula.vim and saveas, you save a html file from github (in hindsight, duhhhh) which vim cannot read.

Making sure the content of the dracula.vim file is actually a vim color scheme fixes the problem.

@dsifford
Copy link
Member

dsifford commented Aug 1, 2018

Yikes! Yeah, I'd definitely suggest using a plugin manager to manage your plugins. I use vim-plug, but there are several others out there as well that'll get the job done.

@vwkoppejan
Copy link

To be really honest I'm not a huge fan of vim plugins (ok I use vscode as my main ide and vim as a lightweight text editor). My vimrc is like 10 lines or so. Shell scripts and git take care of most of the syncing.

Also see this talk about what's possible without plugins.

https://youtu.be/XA2WjJbmmoM

@benknoble
Copy link
Member

with vim's pack system, you don't need a plugin manager. just something that can put files in the directories (which are schemed perfectly for a git clone)

@benknoble
Copy link
Member

Marking this for closure, since it looks like the issue was resolved.

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

No branches or pull requests

4 participants