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

Airline theme github_dark_high_contrast not working #268

Closed
luisdavim opened this issue May 30, 2023 · 0 comments · Fixed by #271
Closed

Airline theme github_dark_high_contrast not working #268

luisdavim opened this issue May 30, 2023 · 0 comments · Fixed by #271
Assignees
Labels
assigned Under progress.
Projects

Comments

@luisdavim
Copy link
Contributor

luisdavim commented May 30, 2023

Most of the other variants are working but if I select the github_dark_high_contrast one I get the following error:

Error detected while processing function airline#check_mode[66]..airline#highlighter#highlight:                                                                                                                                                                             
line    2:                                                                                                                                                                                                                                                                  
E121: Undefined variable: g:airline#themes#github_dark_high_contrast#palette                                                                                                                                                                                                
Press ENTER or type command to continue 

An interesting thing is that this variant seems to start working if I select the github_dark_default Airline theme first and then switch to it, in that case it fails with E121: Undefined variable: g:airline#themes#github_dark_default#palette, then switching back to github_dark_high_contrast makes everything work as expected...

Looks like there's a typo on https://github.com/projekt0n/github-nvim-theme/blob/main/autoload/airline/themes/github_dark_high_contrast.vim#L1 github_dark_high_constrast instead of github_dark_high_contrast and the github_dark_default theme is setting the theme to the high_contrast one: https://github.com/projekt0n/github-nvim-theme/blob/main/autoload/airline/themes/github_dark_default.vim#LL1C49-L1C49

@ful1e5 ful1e5 self-assigned this May 30, 2023
@ful1e5 ful1e5 added the assigned Under progress. label May 30, 2023
@ful1e5 ful1e5 added this to To do in Workboard via automation May 30, 2023
Workboard automation moved this from To do to Done May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned Under progress.
Projects
Development

Successfully merging a pull request may close this issue.

2 participants