Code Monkey home page Code Monkey logo

Comments (7)

AndreiMoraru123 avatar AndreiMoraru123 commented on July 18, 2024 3

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

from init.lua.

missingcharacter avatar missingcharacter commented on July 18, 2024

@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,
    },
}

from init.lua.

Sama-004 avatar Sama-004 commented on July 18, 2024

@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

from init.lua.

Sama-004 avatar Sama-004 commented on July 18, 2024

https://github.com/rebelot/kanagawa.nvim

It looks more like this

from init.lua.

RobertMiguel avatar RobertMiguel commented on July 18, 2024

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

from init.lua.

HossamSamir avatar HossamSamir commented on July 18, 2024

@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.

from init.lua.

RobertMiguel avatar RobertMiguel commented on July 18, 2024

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"

from init.lua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.