ThePrimeagen/init.lua

What colorscheme is theprimeagen currently using?

RobertMiguel opened this issue · 7 comments

2024-01-07-153731_1366x768_scrot

Is he still using rose-pine? If so, what rose-pine plugin settings did he make?

@RobertMiguel I believe this is it:

file: ~/.config/nvim/lua/theprimeagen/lazy/colors.lua

function ColorMyPencils(color)
    color = color or "rose-pine"
    vim.cmd.colorscheme(color)
end

return {
    {
        "folke/tokyonight.nvim",
        config = function()
            require("tokyonight").setup({
                style = "storm",
                transparent = true,
                terminal_colors = true,
                styles = {
                    comments = { italic = false },
                    keywords = { italic = false },
                    sidebars = "dark",
                    floats = "dark",
                },
            })
        end,
    },
    {
        "rose-pine/neovim",
        name = "rose-pine",
        config = function()
            require("rose-pine").setup({ disable_background = true })

            vim.cmd("colorscheme rose-pine")
            ColorMyPencils()
        end,
    },
}

@RobertMiguel I believe this is it:

file: ~/.config/nvim/lua/theprimeagen/lazy/colors.lua

function ColorMyPencils(color)
    color = color or "rose-pine"
    vim.cmd.colorscheme(color)
end

return {
    {
        "folke/tokyonight.nvim",
        config = function()
            require("tokyonight").setup({
                style = "storm",
                transparent = true,
                terminal_colors = true,
                styles = {
                    comments = { italic = false },
                    keywords = { italic = false },
                    sidebars = "dark",
                    floats = "dark",
                },
            })
        end,
    },
    {
        "rose-pine/neovim",
        name = "rose-pine",
        config = function()
            require("rose-pine").setup({ disable_background = true })

            vim.cmd("colorscheme rose-pine")
            ColorMyPencils()
        end,
    },
}

Don't think so, the one he is using is much more darker

It's rose-pine. When you launch vim from tmux without the 256 color palette you get that.

Thank you everyone, I managed to solve it with your instructions.

@AndreiMoraru123 @RobertMiguel How can I disable the 256 color palette?
I've commented this line: # set -g default-terminal "screen-256color"
at my ~/.tmux.conf file

And I'm opening neovim from a tmux session in iterm2, but still it does not look the same.

Which terminal do you use? Depending on this, you should also disable it in the terminal itself in addition to the .tmux.conf file settings

I use alacritty in case I only uncomment one line in my settings

alacritty.toml

[env]
TERM="xterm-256color"