Code Monkey home page Code Monkey logo

neovim-ayu's People

Contributors

bmulholland avatar cantoromc avatar fedex159 avatar jemag avatar metalelf0 avatar philrunninger avatar pynappo avatar rami3l avatar rohit-kumar-j avatar shatur avatar windwp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

neovim-ayu's Issues

Add highlight for WinSeparator

Nvim is deprecating VertSplit and moving to WinSeparator for borders in 0.10. By default, WinSeparator links to normal which does not look great for most colorschemes.

Background transparency

I just discovered your wonderful colourscheme and really like it!
I have one little question though: Would you possibly consider to implement background transparency?
All the colourschemes I'm using currently are supporting it and it's a real useful addition in the setup I'm using ...

No highlighting tags groups (treesietter groups)

Hi, I found with the new treesitter update there is no highlighting in html/jsx files. With put this 3 groups is possible to solve. For now, I moved treesitter to a commit before the change of the groups highlighting. I hope this solve the problem with the highlighting. Thanks

Groups

['@tag'] = { fg = colors.keyword },
['@tag.attribute'] = { fg = colors.tag },
['@tag.delimiter'] = { link = 'Delimiter' },
  • Treesitter with commit before changes
    imagen

  • With the 3 groups
    imagen

  • Without groups
    imagen

nvim: ayu mirage: invalid argument

Hello!
When I use nvim8 I got a error at startup

Error detected while processing /home/alek/soft/configs/nvim/init.vim[120]../home/alek/.local/share/nvim/site/pack/packer/start/ayu-vim/colors/ayu.vim:                
line  275:                                                                                                                                                             
E474: Invalid argument 

in init.vim I have

"THEMES:
set termguicolors " enable true colors support
let ayucolor="mirage" " for mirage version of theme
colorscheme ayu

I use wbthomason/packer.nvim as a package manager.

In nvim7 the error is not reproducible

Remove tilde signs

First, great implementation of a wonderful color scheme. I am using both the dark and light variants depending on the time of day.
I know it's something that is part of nvim and vim in general, but I don't like those tilde signs that hang out where there is no text/code both in NvimTree and main editor.

Is there any way to have them removed?

Thanks!

Normal background removal causes problems

I believe the background for Normal was removed for some reason in the following commit ff797aa.

This causes problems in various scenarios, for example here with vim.ui.input:
image

or here with fidget.nvim:
image

Is there a particular reason to remove it?
It seems like it would make sense to have a default color rather than have to specify it for every potential scenarios.

Add buffer picking colors in barbar

the buffer-picking function in barbar highlights the key to press in each buffer. can this color be improved to fit with the colorscheme instead of the default red?
image

Support semantic tokens explicitly

Now that neovim/neovim#21100 has been merged, highlighting is different in files that support semantic tokens, which sometimes does not look as good as before.

I think it would be worthwhile to explicitly define highlighting for those, see the highlight groups here : https://github.com/neovim/neovim/blob/f69d531d84c52ed71b6b9dd9b05a077ca8896ff6/src/nvim/highlight_group.c#L267-L279

You can also use this neovim/neovim#21393 to identify the treesitter and semantic tokens at play, like so :
image

lualine example in README.MD

Hi,
Thanks for this theme. This is excellent theme with good colours combinations so far I have found and much easier to override the colour options.
Please include the example of setting up nvim-lualine as well in the readme file. Initially I thought lualine was not supported, but I managed to set it up.

For those who are struggling with dark comments, dark line numbers, dark visual selection and dark current cursor line and almost non-visible selected file in nvim-tree, following may help.

-- color selections: https://www.canva.com/colors/color-wheel/
vim.o.background = 'dark'
require("ayu").setup({
	mirage = false,
	overrides = {
		Comment = { fg = "#9e926f" },
		LineNr = { fg = "#5081c0" },
		Visual = { bg = "#5a4e39" },
		CursorLine = { bg = "#2e2e2e" },
	},
})
require("ayu").colorscheme()

require("lualine").setup({
	options = {
		theme = "ayu",
	},
})

Feature request: dim inactive windows

Hello,

Thank you for this lovely theme. I was wondering if you would consider adding a feature to dim inactive windows, similar to 'folke/tokyonight.nvim’, 'catppuccin/nvim’, and 'rebelot/kanagawa.nvim’?

I’m afraid that I’m very new to nvim and lua and therefore creating a pull request is a bit beyond my meagre capabilities right now.

Thanks again.

Better markdown support

Markdown is not properly support by ayu when also using Treesitter.
For example:

  • titles with "#" are not bold
  • text within "..." is not bold
  • code within "``" looks like a comment

Otherwise the colorscheme is amazing!

Some elements in Tmux got background

Hi,

When I use Nvim without Tmux, everything runs smoothly. However, when I'm inside Tmux, certain elements end up with a background color:
image

I can manually set the background color to transparent for some elements, but I suspect there might be an issue with my configuration file causing me to do it this way.

Any solution for it?
Thanks!

Visual mode highlighted text in dark theme

Sorry for asking a question that others might find very obvious.

Can you please point me to the variable that holds the color value for the highlighted text in visual mode, so I can set a brighter color?
I feel somehow that it blends in with the background, at least on my monitor, and I have to focus more to see what's highlighted.

Thanks!

Overriding is not working

Hi there. Could you help me figure out why overriding highlights is not working in my setup?

This is how I load your package:

use {'Shatur/neovim-ayu', config = function() require('mrv.plugins.ayu') end} -- Ayu theme for Neovim

and inside my config file mrv.plugins.ayu I have:

vim.g.ayu_mirage = false

local colors = require('ayu.colors')

vim.g.ayu_overrides = {
  LineNr = {fg = colors.white}
}

vim.cmd [[ colorscheme ayu ]]

Thanks for your time!

Treesitter removed TS* highlight groups

See nvim-treesitter/nvim-treesitter@42ab95d

I took a quick look at https://github.com/Shatur/neovim-ayu/blob/master/lua/ayu/init.lua and there doesn't seem to be a good place to add the new hl calls. I can make the change if you let me know how to approach it. Perhaps a new function for the treesitter highlights? Also, my read of it is that it only affects these four groups -- is that right? https://github.com/Shatur/neovim-ayu/blob/master/lua/ayu/init.lua#L117

Numbers are not colored

My numbers are gray and not orange.

PS. Sorry if this is a very minor issue. I just wonder if I should do something at the configuration level.

Screenshot:
image

Details

  • Neovim. v0.7.2 (I am in Neovim from the terminal).
  • OS. Linux Mint.
  • Terminal: gnome-terminal.

Add support for `nvim-treesitter-context`

Hi, thanks a lot for making this wonderful theme!

nvim-treesitter-context uses the highlight group TreesitterContext to change the colors of the context (e.g. the current function).
This highlight is used to distinguish the context from the rest of the buffer.

demo

However, the fallback is NormalFloat which makes the context almost identical with the rest of the buffer (note the context lines numbered 10 and 3):

image

It would be nice if this situation can be improved, thanks a lot in advance!

Request of collaboration

This is not an issue but i wanted to contact you.

Would you like to take a look at: https://github.com/CantoroMC/neovim-ayu
I've taken what you have done so far and added some features:
i) divided set_groups in different function and loaded asynchronously with vim_loop some of them.
ii) aligned color of the various variant with the original ayu theme.
iii) added some plugins highlightings.
iv) added global variable to italicize comments and string, darken or shading floating window, and some "sidebars" (packer, nvim tree, terminal...), and disable borders between windows and "sidebars"

I've tried to make as many commits as change arguments.
Feel free to use it or if it all the changes (or almost) pleases you, please add me as a collaborator and merge the changes; so we will have only your repository.

I will add detailed documentation when I have some garbage time, probably next week.

Regards

CursorLine not applying to texts

When I change the cursor line of all 3 color styles (dark, mirage, and light) the cursor doesn't change for some text but does for others. Please see screenshots. This issue is for all 3 styles.

image

image

image

Cross-post: invisible cursor while using lightspeed or leap

Cross-posting an issue here: ggandor/leap.nvim#27. As I posted in a comment there, I don't know if this is actually a bug with ayu.

I've worked around this for now:

local ayucolors = require("ayu.colors")
ayucolors.generate() -- Pass `true` to enable mirage

require("ayu").setup({
	overrides = {
		Cursor = { bg = ayucolors.line },
	},
})

W18: Invalid character in group name

Hello. Thanks for the awesome theme.

Started to get error after latest :PackerSync. I wonder if that could be somehow realted with the latest commit.

Error detected while processing /Users/kuzyo/.local/share/nvim/site/pack/packer/start/neovim-ayu/colors/ayu-light.lua:
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name
W18: Invalid character in group name

Override does not change colors as expected

When adding an override to the Ayu color scheme the result does not alter the displayed colors.

Code:
opt.termguicolors = true -- enable 24-bit RGB colors
cmd('set background=dark')
cmd('colorscheme ayu-dark')

require('ayu').setup({                                                                                                                            
    mirage = false,                                                                                                                              
    overrides = {                                                                                                                                    
        Comment = { fg = "Gray63" },                                                                                                                 
        line = { fg = "#ffcc66" }                                                                                                               
     },                                                                                                                                                
})

Expected behavior:
Line numbers are #ffcc66 - a golden yellow color, and comments are a gray.

Actual result:
Colors are unchanged from their default values

:highlight comment                                                                                                                                               
Comment        xxx cterm=italic gui=italic guifg=#626a73 

:highlight linenr                                                                                                                                                
LineNr         xxx guifg=#242a35 

I have tried using guifg and fg and neither produces the result I’m expecting.

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.