Skip to content

fix: color highlight groups are invalid#421

Merged
harrisoncramer merged 1 commit into
developfrom
420-with-bare-setup-colors-are-invalid
Nov 10, 2024
Merged

fix: color highlight groups are invalid#421
harrisoncramer merged 1 commit into
developfrom
420-with-bare-setup-colors-are-invalid

Conversation

@harrisoncramer

@harrisoncramer harrisoncramer commented Nov 10, 2024

Copy link
Copy Markdown
Owner

Delay the function call that sets color highlights until Neovim is fully set up and loaded

Comment thread lua/gitlab/colors.lua
return { fg = normal_fg, bg = normal_bg }
end

vim.api.nvim_create_autocmd("VimEnter", {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delaying this operation until after Neovim loads appears to resolve this issue

@harrisoncramer harrisoncramer marked this pull request as ready for review November 10, 2024 16:20
@harrisoncramer

Copy link
Copy Markdown
Owner Author

This is the solution to #307

@harrisoncramer harrisoncramer merged commit b606ceb into develop Nov 10, 2024
@harrisoncramer harrisoncramer mentioned this pull request Nov 12, 2024
harrisoncramer added a commit that referenced this pull request Nov 12, 2024
fix: Show non-resolvable notes in winbar (#417)
fix: add more emojis and make emoji picker configurable (#414)
fix: comment creation should not be possible for renamed and moved files (#416)
fix: color highlight groups are invalid (#421)
fix: plugin failing to build on Windows (#419)

---------

Co-authored-by: Jakub F. Bortlík <jakub.bortlik@proton.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant