Coder Social home page Coder Social logo

bluz71 / vim-moonfly-colors Goto Github PK

View Code? Open in Web Editor NEW
804.0 9.0 65.0 829 KB

A dark charcoal theme for modern Neovim & classic Vim

License: MIT License

Shell 1.27% Lua 61.47% Vim Script 37.07% Scheme 0.19%
vim neovim nvim vim-colorscheme neovim-colorscheme iterm2-theme alacritty-theme kitty-themes neovim-theme vim-theme

vim-moonfly-colors's Issues

inlay hint not distinguishable in vim with coc

hi,
thx for the colorscheme,
but inlay hint in vim with coc and semantic highlight enabled, is not distinguishable. Here is the side by side comparison (Left Neovim/ Right Vim):

Screenshot from 2023-10-31 11-55-09

For Example, in line 201 there is no background color for inlay hint.
Can you make same with the neovim one

Thank you again

`TODO` word is not visible

When the cursor is on the same line as the TODO word, TODO becomes too dark and almost impossible to see.

Cursor is one line above the TODO word. TODO is visible. ✅
Screen Shot 2022-09-17 at 4 32 55 PM

Cursor is on the same line as the TODO word. TODO is not visible. ❌
Screen Shot 2022-09-17 at 4 33 09 PM

I'm using moonfly on commit 448df20e1d24cb4d6a32f71de3b1c9d8ea84cbfd, Vim 9.0.50, iTerm2 3.4.16 and macOS 12.6.

nvim-dap-ui support

Hi, I saw that you have support nvim-dap-ui plugin, my current button look like this, is this normal?

image

Transparent Background Not Working

I rally like this theme but have not been able to enable the transparent background. I have tried setting it using the lua code that was provided. Here is my section of my config that has the colorscheme options.

vim.cmd.colorscheme("moonfly")
vim.g.moonflyTransparent = true

I do not think I have any plugins that are causing a conflict with this theme. If you need a log of some sort I would be happy to provide it.

Warning parts is now hard to see

Hi! I really like your theme, but after some (I don't know which exactly) update the "warnings" parts of my code became very difficult to see:
image

Previously they were just underlined.

Hard to distinguish highlighting for Rust code

Thank you for this awesome theme. But I am not sure if the issue I am having here is the themes fault or me configuring something wrong in Neovim. Shown on lines 21, 22, and some others. The color of tracing_subscriber and registry is near the same. I was wondering if this is something I have misconfigured or something I need to change

image

My neovim can be found here too https://github.com/112RG/dotfiles

[Enhancement]: Italicized comments

Italics, for comments, can look nice as done in the nice night-owl theme.

I would like to do the same with moonfly, for gui-mode only, defaulting to on. Provide an option to disable them.

Also, slightly darken Comment colors.

Fatal error on install/update

Using vim-plug in an otherwise empty vim (no other plugins) i get this error on install/update:

Updated. Elapsed time: 0.759713 sec.                                                                                   
[x]

- Finishing ... Done!
x moonfly:
    fatal: unknown style 'zdiff3' given for 'merge.conflictstyle'

my .vimrc contains:

call plug#begin()

Plug 'bluz71/vim-moonfly-colors', { 'as': 'moonfly' }

call plug#end()

colorscheme moonfly

I use it on ubuntu with vim version "VIM - Vi IMproved 8.2"

I understand that zdiff3 comes from a git config file. But why does this matter and causes an error. For explanation why i use zdiff3, please see the official documentation https://git-scm.com/docs/git-merge/2.38.0

[feature request] bold highlights

I recently discovered this theme and totally love it. However, I miss the treesitter/lsp powered bold highlights for different objects like function names. Would it be possible to have that feature please - maybe behind an option flag?

Better highlight tab for bufferline

Screenshot 2023-08-01 at 04 16 40 Im currently using bufferline plugin, with option: `separtor_line = "sloped"`

Is this possible to make the buffer tab more noticeable? for example changing the background of the line, and keep the color of the buffer tab?
image
Like this for example, maybe using the same background color as for Lualine?

Neogit Issue

Hi,
Thanks for the nice theme but with the neogit plugin, it hard to distinguish the hunk texts. :(

Ekran görüntüsü 2023-07-15 232252

Kindly Request

I love your theme so much but i am using vim instead of nvim and i also use CoC becuase there is no built-in lsp client in vim. Your colorscheme written in neovim in mind. when i open nvim side-by-side colors not matched. Can you add coc highlight groups for Coc users :(

If you accept it, here is all coc sematic highlight groups:

CocSemModDeprecated      CocSemTypeEvent          CocSemTypeNamespace      CocSemTypeStruct
CocSemTypeBoolean        CocSemTypeFunction       CocSemTypeNumber         CocSemTypeType
CocSemTypeClass          CocSemTypeInterface      CocSemTypeOperator       CocSemTypeTypeParameter
CocSemTypeComment        CocSemTypeKeyword        CocSemTypeParameter      CocSemTypeVariable
CocSemTypeDecorator      CocSemTypeMacro          CocSemTypeProperty
CocSemTypeEnum           CocSemTypeMethod         CocSemTypeRegexp
CocSemTypeEnumMember     CocSemTypeModifier       CocSemTypeString

For example, below image, simulate function's parameter, []Particle struct type and struct member field which is p_.x have repeated colors, not distinguishable.

image

Provide an option for colourful diagnostic virtual text.

Something like g:moonflyColoredDiagnosticVirtualText that does this when set to true:

highlight(0, "DiagnosticVirtualTextError", { link = "MoonflyRed" })
highlight(0, "DiagnosticVirtualTextWarn", { link = "MoonflyYellow" })
highlight(0, "DiagnosticVirtualTextInfo", { link = "MoonflyBlue" })
highlight(0, "DiagnosticVirtualTextHint", { link = "MoonflyWhite" })

The highlight color is too hard to see

Do I have something misconfigured, or is the highlight color waaay too hard to see (it's very close to the background color), especially on translucent terminals?

add to base16 collection

would it possible to add this theme to the base16 collection that a good amount of people is already using?

this would make it possible to seamlessly use this theme for many users who already rely on base16 and the tools built around it

Conceal highlight creates gaps in popups/floats

image

Should be OK to remove the ctermbg and guibg attributes from Conceal to fix this.

You may also want to change the foreground colours too, they're the same as Pmenu's background colour, which makes the placeholder characters invisible:

image

Thanks!

Treesitter context is not distinguishable with moonflyNormalFloat enabled

Hello!

When moonflyNormalFloat is enabled, the Treesitter context is not visually separate from normal text. One solution would be to use a repeated character to separate the context from the rest of the buffer. However, this displaces the text vertically and looks ugly when switching to a different theme (e.g., a light one).

Thanks again for maintaining this project!

Reproduction

Below is a reproduction in case you find it helpful.

local plugins = {
	ts = "https://github.com/nvim-treesitter/nvim-treesitter",
	ts_context = "https://github.com/nvim-treesitter/nvim-treesitter-context",
	moonfly = "https://github.com/bluz71/vim-moonfly-colors",
	catppuccin = "https://github.com/catppuccin/nvim",
}

for name, url in pairs(plugins) do
	local install_path = "/tmp/nvim/site/" .. name
	if vim.fn.isdirectory(install_path) == 0 then
		vim.fn.system({ "git", "clone", "--depth=1", url, install_path })
	end
	vim.o.runtimepath = install_path .. "," .. vim.o.runtimepath
end

vim.g.moonflyNormalFloat = true
vim.cmd([[colorscheme moonfly]])

and then nvim --clean -u minimal.lua into a file with appropriately large structures.

For example, in

Screenshot 2024-06-24 at 10 01 26

the function body looks incorrect upon first inspection. This problem is worse when there are multiple contexts (e.g., a loop in a function in a class).

Adding require("treesitter-context").setup({ separator = "━" }) to minimal.lua adds a helpful separator. However, here is what it looks like with vim.cmd([[colorscheme catppuccin-latte]]).

Screenshot 2024-06-24 at 10 06 54

As you can see, it duplicates catppuccin's line and looks quite distracting.

Lualine theme gets overridden

I would like to use a darker theme for my lualine whilst using moonfly as my colorscheme, but no matter what I set as lualine theme in its config it keeps showing the moonfly's lualine colors.

In there a global option I can use to disable the override of the lualine theme from moonfly?

Alternate gray color

Hey, just discovered this colorscheme a few days ago and am completely in love with it. I'm trying to theme my entire system to this coloscheme and the only thing I am missing is a black/gray color that lies between 080808 and 323437. What in your opinion would be a nice color between the two that would keep with the aesthetic of this colorscheme?

I am basically looking for a color that can be used for the left half of the statusbar and the present one is too light creating too much of a difference between the two halves while I would like something that is not that light. Would really appreciate your suggestions in this regard.

Thanks for creating this absolutely gorgeous colorscheme!

swappy-20210816_092809

Spelling errors create cursorline gaps

Seems to happen in both TUI and GUI nvim.

Especially apparent with nvim-treesitter's highlights enabled, which disables the regular syntax-based highlighting, using extmarks instead:

image

Usually, with :syntax on, code is ignored by the spell checker, which makes this less apparent outside of comments.
It seems that removing the ctermbg and guibg attributes from the :highlight fixes the issue:

image

Not correct colors for git diff

I loved the theme and thank you for the great work. I don't know if I have something misconfigured or it is the default colors but when I open git diff in nvim the colors are just gray. I am expecting it to show green for additions and red for the deletions.

Screenshot 2024-01-03 at 12 28 18 AM

Is there a way i can update the colors?

Feature Request: Porting to VScode

I love this colorscheme, but sometime when we do pair programming, we usually using vscode
Is this possible to port this theme into vscode?

should be `lazy = false`

Hey, thanks for your work! For the lazy.nvim installation, it should be lazy = false; that way it loads first. From the lazy docs for the priority setting:

Only useful for start plugins (lazy=false) to force loading certain plugins first. Default priority is 50. It's recommended to set this to a high number for colorschemes.

`DiagnosticError`: make background transparent

Hi, @bluz71 - Thank you for your work on this. Honestly, it's the only dark theme out there that I really liked. I was trying to tweak it a bit to make the background black, and change the errors from dark red to light red (dark red's visibility is a bit poor). Also, for the LSP Diagnostic Errors floating window, I want to make it transparent.

If I run this command after opening neovim: :highlight DiagnosticError ctermfg=1 guifg=#ffcccb guibg=black, it works (please see the second image below). However, if I add the same command in colors/moonfly.vim file, it doesn't change the color.

I understand it may not be something that everyone wants, hence I wanted to make this edit in the fork and use it for my work. Can you help with what might be going wrong here?

How it is right now:

Screenshot_20220903_134841

How I want it to look like:

image

Change warning highlight color

Hey mate,

First of all, love the theme, very pleasing to the eye.

To my question, is there a config somewhere to change the warning or error message color? I'm using MasonLSP if that matters.
image
I'd prefer some more pop up color like red or orange for error so I can pay attention to it.

Weird background when writting Lua file

When Im writing Lua file, the text background becomes black instead of the highlightline color.
You could see the picture bellow
image

But when im writting Bash, it doesnt happend
image

Do you have any idea?
im using:

  • Luals, selene
  • bashls, shellcheck

Gnome terminal support

Hi @bluz71 I made a gnome terminal script for setting up Moonfly colors. Please let me know if you are interested to include this in this repo, cheers.

`mini.notify` support

mini.notify is a relatively new addition to the mini plugin ecosystem that is not currently styled.

Thank you for your work on this project!

Kitty Tmux Color when do SSH

Hi @bluz71,

This issue is not for neovim but since I like your colorscheme and also you provide a configuration for Kitty terminal
I have a weird color when using SSH with vim and searching as the picture below: ( it's really hard to to see the text under the matching pattern )
image

My Tmux configuration is simple:

set -g default-terminal "tmux-256color" # for kitty

unbind C-b
set -g prefix `
bind-key ` last-window
bind-key e send-prefix

set -g status-position bottom
# Transparent background
set-option -g status-style bg=default
set -g status-fg "#bdbdbd"

set -g status-left ''
set -g status-right '%H:%M:%S'
set -g status-right-length 50
set -g status-left-length 20
setw -g mode-keys vi

setw -g window-status-current-format ' #I#[fg=#85dc85]:#[fg=#85dc85]#W#[fg=#ff5454]#F '
setw -g window-status-format ' #I#[fg=#bdbdbd]:#[fg=bdbdbd]#W#[fg=#bdbdbd]#F '

set-option -g history-limit 5000

# mouse behavior
set -g mouse on

set -s escape-time 10                     # faster command sequences
set -sg repeat-time 600                   # increase repeat timeout

bind-key -T copy-mode-vi 'v' send -X begin-selection     # Begin selection in copy mode.
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'

Color overriding functionality

Bro your colorscheme is mind-blowing but I want to override some colors

I looked you source code but didn't not find
If there is some way please tell me

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.