savq / melange-nvim Goto Github PK
View Code? Open in Web Editor NEW🗡️ Warm color scheme for Neovim and beyond
License: MIT License
🗡️ Warm color scheme for Neovim and beyond
License: MIT License
nvim-treesitter had a (very) breaking change. See: nvim-treesitter/nvim-treesitter@42ab95d
tree-sitter specific highlights have to be updated accordingly.
Hello.
This colorscheme is great but darker and warmer variants would add value for different people and configurations. https://github.com/sainnhe/gruvbox-material and https://github.com/ramojus/mellifluous.nvim are good examples of how implementing different variants in the same colorscheme.
I have created a darker and warmer variant in https://github.com/Martin1887/melangeDarkerWarm-nvim (without implementing different schemes), though it slightly breaks the philosophy of cold colors for data of melange (maybe cooler colors for data).
Thanks.
Help needed. I am struggling to get the build scripts to work.
$ make
nvim --headless -u NORC \
--cmd 'lua require("melange.build").build()' \
--cmd 'q'
Error detected while processing pre-vimrc command line:
E5108: Error executing lua [string ":lua"]:1: module 'melange.build' not found:
no field package.preload['melange.build']
no file './melange/build.lua'
no file '/usr/local/Cellar/luajit-openresty/2.1-20210510/share/luajit-2.1.0-beta3/melange/build.lua'
no file '/usr/local/share/lua/5.1/melange/build.lua'
no file '/usr/local/share/lua/5.1/melange/build/init.lua'
no file '/usr/local/Cellar/luajit-openresty/2.1-20210510/share/lua/5.1/melange/build.lua'
no file '/usr/local/Cellar/luajit-openresty/2.1-20210510/share/lua/5.1/melange/build/init.lua'
no file './melange/build.so'
no file '/usr/local/lib/lua/5.1/melange/build.so'
no file '/usr/local/Cellar/luajit-openresty/2.1-20210510/lib/lua/5.1/melange/build.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './melange.so'
no file '/usr/local/lib/lua/5.1/melange.so'
no file '/usr/local/Cellar/luajit-openresty/2.1-20210510/lib/lua/5.1/melange.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Adding more information around required deps for build script would be awesome.
I like the design of melange, but the contrast is too high and hurts my eyes. Is there a programmatic way to reduce contrast, or should I fork and manually edit all the color values?
Sorry for annoying. What is the name of font on preview?
I am picking through a few colourschemes and found this one. I realize that it’s WIP, but your description suggests you’re trying to make this work on both Vim and Neovim.
Unfortunately highlight
does not support blend=
on Vim as of version 8.2
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 8 2021 07:21:32)
macOS version - x86_64
Included patches: 1-2576
I find the theme color scheme very comfortable and quite appealing. Thank you for your work.!
The issue now is that it's difficult to distinguish the selected content in visual mode. Would it be possible to make some improvements, such as gruvbox-material
It has a configuration item to choose the highlighting color: vim.g.gruvbox_material_visual
I love this theme! I'd like to port this to some tools.
Would it be possible to document the palette, similar to what gruvbox does? This would help facilitate ports of this theme.
Hello,
Love the color scheme. Is there a defined set of 16 RRGGBB values that correlate to the ANSI colors used by the terminal? I believe it is also best practice for colorschemes to include this (e $VIMRUNTIME/colors/README.txt
).
I see this file here - does this match those exact values?
Thanks.
This theme looks so cool! Would you consider supporting it on VSCode?
Nvim is deprecating VertSplit and moving to WinSeparator in 0.10. By default, WinSeparator links to normal which does not look great for most colorschemes.
Hello, this may be the wrong place to ask this but I am trying to change the background color to that of my terminal (iterm2).
I am changing the
a = {
bg = hsluv(246, 248, 250);
overbd = hsluv(246, 248, 250);
...
}
and although it gets to be a closer to what I want it still has this rose hue to it. Any suggestions?
Thanks for the great theme!
Steve
Hello,
Could you provide the font used in the screenshot?
Furthermore, any special melange configurations you made to achieve the exact same aesthetics.
i noticed that the melange colors are weird in nvim tree when it is loaded in init.lua
using
vim.cmd('colorscheme melange')
loaded after init using :colorscheme melange
can this be solved?
barbar has a cool buffer picking feature, however the colorscheme isn't respected by the letter to pick the buffer (see screenshot). instead, the letter is #ff0000 instead of a color from the melange colorscheme.
can this feature be implemented?
Why doesn't my colorscheme look anything like the screenshots?
It's melange -- but the comments are big maroon blocks and the strings are big purple blocks. I don't see any comments in your screenshots, but surely they don't do that ... at least the strings in your screenshots don't. I don't want my colorscheme to highlight anything in so visually startling a manner (except possibly errors, but probably not even that).
I suspect I might be seeing the same problem with other colorschemes too, not just melange. So I'm thinking the problem is on my side, but I have idea where to look. Any idea what setting I might be screwing up here?
First of all, I very much love this colorscheme. Unfortunately the italicization of comments does not look very good with my font:
This colorscheme includes flags to enable/disable bold & italics, which is nice; you put lines your init.vim as follows:
let g:oceanic_next_terminal_bold = 1
let g:oceanic_next_terminal_italic = 1
would it be possible to add something like that for this colorscheme? Thanks!
Hello
Would it be possible to add "cursor_text_color" in a contrasting color to the Kitty terminal themes? With this parameter missing the block cursor in nvim becomes just a dark block that hides the character behind it.
I tried adding "cursor_text_color #F1F1F1" to the light Kitty theme and that fixed the problem for the light theme.
Hi, I am new to (neo)vim. Is there any way to install this theme using vim-plug?
Could you provide simple option that could be set in init.vim
so it would disable italics?
Adding a Lualine theme is straightforward. The theme from my fork (https://github.com/Martin1887/melangeDarkerWarm-nvim/blob/master/lua/lualine/themes/melange.lua) can be taken but you may probably want to change some values.
Whenever treesitter fails to parse some program, the errors are highlighted using underlines. This is especially annoying when the code is valid, but treesitter does not recognize it. Here is an example where treesitter highlights ~80 lines of valid C code and the theme adds an underline to all of that:
This is annoying because it becomes difficult to differentiate between i
and j
, for example, when it's underlined. It generally makes it much harder to edit by underlining multiple lines.
I temporarily solved this by removing gui=undercurl
from the TSError
highlight group in the compiled melange.vim
file.
highlight TSError guifg=NONE guibg=NONE guisp=NONE gui=undercurl blend=NONE
to
highlight TSError guifg=NONE guibg=NONE guisp=NONE blend=NONE
In the lush code, I think the change would be removing this:
Is this an appropriate solution for this problem?
Thank you for making this theme, I've been using this for some time now and really liked it ❤️
Colorscheme doesn't work with my config. It work if I set :set background=light.
just found out about melange thanks to this blog post, and I totally stand by this:
the only colorscheme I’ve found that I didn’t eject in horror after 5 minutes, except for gruvbox
Would you consider adding transparency?
--- im a vim noob ---
for example i want to add self
keyword to highlight groups same with the function
keyword
iterm2 stores colors using apple's plist
format (xml pretending to be json). Melange should either have a template to generate the plist automatically (as is done with other terminal emulators) or suggest a tool that targets that format.
Alacritty switched its config format from yaml to toml a while ago. The template in build.lua should be updated accordingly.
Hello! thanks for the colorscheme, been using it for a while now :D
However, as the title said, i have a little problem regarding the colors of the diff on the light theme, to be more specific with the changed part (did a little research, i think its related with the DiffChange and DiffText highlights, but I'm unsure about it).
Here is how it looks like when i did :Gvdiffsplit (with fugitive.vim)...
... compared with vscode.nvim.
In the Noice the cursor in the commandline is invisible, since the Cursor
highlight in melanage is not set and NoiceCursor
links to it.
This can be fixed by either setting the Cursor
or NoiceCursor
to something, but is there is reason Cursor
has been left unset?
First of all, thanks for this colorscheme. I think it is one of the best dark themes out there, if not the best. It's all balanced. My coworkers always ask the name of it in a pair session. Please, make the palette more accessible for ports to other text editors. You did a great job here.
IMHO, this colorscheme fails just in one category: the diff colors. It's hard to tell what has changed at a glance.
I don't understand anything about colors, so I don't know what to suggest to help with this. Maybe, some background colors?
Thank you for the amazing colorscheme. I feel like the Visual selection is hard to see with the defined color. I have tried to add a guifg=white to make my eyes help to see where the visual selection ends.
It is hard for my eyes to really see where the visual selection starts and ends with the current color.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.