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

Add lazy.nvim usage #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add lazy.nvim usage #145

wants to merge 1 commit into from

Conversation

jonashaag
Copy link

No description provided.

@juliancoffee
Copy link
Contributor

juliancoffee commented Sep 2, 2023

Oh, nice to find this MR, I would also add cmd to actually set the colorscheme

    {
        "sonph/onehalf",
        lazy = false,
        config = function(plugin)
            vim.opt.rtp:append(plugin.dir .. "/vim")
            vim.cmd [[ colorscheme onehalfdark ]]
            -- or vim.cmd [[ colorscheme onehalflight ]] if you prefer light theme
        end
    },

UPD: No, it doesn't work 😅
UPD2: It didn't work because I had an explicit "colorscheme desert" at the end of the file, maybe it would work, but it didn't work that nicely with lazy.nvim for me, so I went to find a different color scheme, sadly

Copy link

@frimdo frimdo left a comment

Choose a reason for hiding this comment

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

The snippet works for me. It would be nice to include this in official README.md.

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.

3 participants