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

Cannot find color shcme 'github_dark' #89

Closed
MikiVanousek opened this issue Sep 24, 2021 · 3 comments
Closed

Cannot find color shcme 'github_dark' #89

MikiVanousek opened this issue Sep 24, 2021 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@MikiVanousek
Copy link

I installed this theme with Vim Plug. It appears to be installed...

ls ~/.local/share/nvim/plugged/github-nvim-theme/
CHANGELOG.md  colors  extras  LICENSE  lua  Makefile  queries  README.md

This is my config to turn it on:

" Example config in VimScript
let g:github_function_style = "italic"
let g:github_sidebars = ["qf", "vista_kind", "terminal", "packer"]

" Change the "hint" color to the "orange" color, and make the "error" color bright red
let g:github_colors = [hint = "orange", error = "#ff0000"]

" Load the colorscheme
colorscheme github_dark

Yet, when I run wim, the following error appears.

Error detected while processing /home/miki/.config/nvim/theme:
line    6:
E121: Undefined variable: hint
line    9:
E185: Cannot find color scheme 'github_dark'
@MikiVanousek
Copy link
Author

I solved E185: Cannot find color scheme 'github_dark' by removing other theme plugins and running PlugClean. If this happens whenever you try to install more than one theme and pick one, it might be useful to mention this in the instructions...

The E121: Undefined variable: hint persists.

@ful1e5 ful1e5 added the duplicate This issue or pull request already exists label Sep 25, 2021
@ful1e5
Copy link
Member

ful1e5 commented Sep 25, 2021

Duplicate of #77

@ful1e5 ful1e5 marked this as a duplicate of #77 Sep 25, 2021
@ful1e5 ful1e5 closed this as completed Sep 25, 2021
ful1e5 added a commit to ful1e5/github-nvim-theme that referenced this issue Sep 25, 2021
@ful1e5
Copy link
Member

ful1e5 commented Sep 26, 2021

let g:github_colors = {
  \ 'hint': 'orange',
  \ 'error': '#ff0000'
\ }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants