Git Product home page Git Product logo

jellybeans-nvim's Introduction

Jellybeans-nvim: a lua port of jellybeans for neovim

Screenshot

Instructions

Note: This colorscheme requires at least Neovim 0.5 (it works fine on current master).

Add to your init.lua (this is using paq-nvim, adjust to your package manager):

local paq = require('paq-nvim').paq

paq { 'rktjmp/lush.nvim'}
paq { 'metalelf0/jellybeans-nvim' }

cmd('colorscheme jellybeans-nvim')

Notes

  • I directly mapped original colors as strictly as possible; right now, only colors already defined in the original colorscheme have been mapped, to get a colorscheme as close as possible to the original one. I'll consider adding more highlight groups for plugins etc. if requested;

  • Treesitter support is basic: it uses the default links defined in nvim-treesitter, and I didn't customize the treesitter groups. Please submit a PR or contact me on reddit if you think anything should be changed / improved;

  • this was built with lush.nvim; for more information on Lush and a helper script to setup your repo clone.

jellybeans-nvim's People

Contributors

metalelf0 avatar rktjmp avatar savq 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

Watchers

 avatar  avatar  avatar  avatar  avatar

jellybeans-nvim's Issues

wish: document dependency on unreleased version of Neovim

The README mentions that this depends on Lush, but it would also be helpful to mention that this means it depends on at least Neovim 0.5, which is not yet released.

With Vim being such a critical tool for developers, some will not be interested to rely on an unreleased version of their text editor.

Neovim LSP colours are just white

The LSP error colours are white and not red.

Is there something I need to configure to change this default behaviour or is this is the only option for now?

Wrong gitsigns colors

I am using gitsigns-nvim to mark lines as added, deleted or changes.
With jellybeans-nvim signs are always gray:

image
Here 187 line is added, 192 and below are changed.

Add set termguicolors = true

Add something like vim.opt.termguicolors = true to the README.md because without it, the colorscheme doesn't work. Took me a second to find what wasn't working for me lol.

how to overwrite specific colors

I tried to change some colors but don't know how to do this.
Following the suggestions in lush, i.e. replacing harbour with jellybeans-nvim in the pasted code below didn't work

-- ~/.config/nvim/colors/my-harbour.lua
-- See create.md and rktjmp/lush-template for more details on what can go in this file.

vim.opt.background = 'dark'
vim.g.colors_name = 'my-harbour'

-- First we will need lush, and the colorscheme we wish to modify
local lush = require('lush')
local harbour = require('lush_colorscheme.harbour')

-- Now we will extend the colorscheme
local spec = lush.extends({harbour}).with(function()
  return {
    -- make the telescope popup look like the pmenu
    TelescopeNormal { harbour.Pmenu },
    -- you can now use TelescopeNormal just like any other group (ref, inherit, etc)
    TelescopeBorder { fg = TelescopeNormal.bg.li(20) },
    TelescopeTitle { fg = TelescopeNormal.bg, bg = TelescopeNormal.fg },
  }
end)

-- then pass the extended spec to lush for application
lush(spec)

Could you give an example on how to change colors? Thanks!

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.