projekt0n / github-nvim-theme

GitHub's Neovim themes
MIT License
2.11k stars 106 forks source link

Problem with configuration options after most recent update (88d4373, on April 6) #238

Closed telemachus closed 1 year ago

telemachus commented 1 year ago

The latest commit (88d4373) seems to have made it impossible to turn some configuration items off.

Here is my setup code:

require('github-theme').setup({
    comment_style = 'NONE',
    keyword_style = 'NONE',
    function_style = 'NONE',
    variable_style = 'NONE',
    theme_style = 'light',
    sidebars = { 'qf', 'lf' },
    hide_end_of_buffer = false,
    hide_inactive_statusline = false,
    dark_float = true,
    dark_sidebar = true,
    transparent = true,
    overrides = function(c)
        return {
            Conceal = { fg = c.fg },
        }
    end,
})

On the latest commit, comments and keywords are in italics. If I check out the second-to-last commit, everything is fine again (i.e., no italics where I don't want them). I see that you deprecated vim.g.github* configuration, but I don't think that should be my problem since I was already using a Lua setup function.

Other information:

I will try to take a look at the latest commit myself over the weekend. If you need any other information, please let me know.

idr4n commented 1 year ago

Strangely my configuration is not picked up when I open Nvim in a normal shell session (color overrides and all...). However if I open Nvim using Tmux, then it is picked up. This happened only after the recent update.

ful1e5 commented 1 year ago

I have rewritten the config module in commit 0e4887c614f6a982cdffb3651cd54543c7ef4e3e. If the issue persists, please inform me.

telemachus commented 1 year ago

Thanks for the quick fix. Everything seems fine for me now, so I'll close this issue. Thanks for the colorscheme.