Comments (7)
It's rose-pine. When you launch vim from tmux without the 256 color palette you get that.
from init.lua.
@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.
@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.
https://github.com/rebelot/kanagawa.nvim
It looks more like this
from init.lua.
Thank you everyone, I managed to solve it with your instructions.
from init.lua.
@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.
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)
- Error when sourcing harpoon.lua on Windows HOT 2
- Will we get the new update for you init.lua? HOT 5
- `ColorMyPencils()` isn't respected when a telescope window is open after `rose-pine` 3.0.0 release HOT 1
- Issue with Setting Leader Key and Ex Command in Vim on MacBook Air M1 E480: No match: g E480: No match: keymap HOT 3
- Missing Prerequisite for C compiler HOT 5
- Packer not required HOT 4
- [help] Error opening any file HOT 1
- Lua snips not working after complete reinstall HOT 1
- Nill value when try to get vim undo directory HOT 2
- lsp.lua still getting undefined global ‘vim’ with lsp.nvim_workspace() HOT 1
- <leader>ps not working with ripgrep HOT 3
- Erorr while sourcing colors.lua HOT 8
- pressing Tab doesnt autocomplete HOT 2
- Use my dicts
- Recommended approach to add configuration for linters? HOT 1
- What theme is this? HOT 3
- Getting issue while installing the packer files HOT 4
- WezTerm => multi-platform TMUX
- <leader>pf problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from init.lua.