Coder Social home page Coder Social logo

Comments (10)

MattSturgeon avatar MattSturgeon commented on August 29, 2024 1

@GaetanLepage is our gruvbox maintainer while our lightline module has been largely untouched since it was added 4 years ago.

The plugins.lightline.colorscheme option currently defaults to colorscheme:

colorscheme = mkOption {
type = with types; nullOr str;
default = config.colorscheme;
description = "The colorscheme to use for lightline. Defaults to .colorscheme.";
example = "gruvbox";
};

However I'm not 100% sure if the gruvbox module sets the colorscheme option 🤔

maybe this issue is ready for close?

Regardless of how well lightline and gruvbox integrate, if the example in the README is broken this is still a valid issue.

from nixvim.

jirafey avatar jirafey commented on August 29, 2024

#1575

from nixvim.

MattSturgeon avatar MattSturgeon commented on August 29, 2024

I see gruvbox when using nvim without sudo but I don't when using it with sudo

Also in repositories I have access to, the gruvbox colorscheme is applying with both sudo and non-sudo nvim command. However the error with lightline still appears on non-sudo nvim command

This is probably related to how home-manager sets up your environment, I'm not 100% sure ottomh. Usually, sodo will inherit your environment though (unless using things like sudo -i)

As for lightline, that's strange. We'll have to investigate as it looks like something is broken either upstream in the plugin or in our modules.

from nixvim.

jirafey avatar jirafey commented on August 29, 2024

I see gruvbox when using nvim without sudo but I don't when using it with sudo
Also in repositories I have access to, the gruvbox colorscheme is applying with both sudo and non-sudo nvim command. However the error with lightline still appears on non-sudo nvim command

This is probably related to how home-manager sets up your environment, I'm not 100% sure ottomh. Usually, sodo will inherit your environment though (unless using things like sudo -i)

As for lightline, that's strange. We'll have to investigate as it looks like something is broken either upstream in the plugin or in our modules.

it is rather in my config, i will post the whole thing here soon, i need to fix some issues now.

from nixvim.

jirafey avatar jirafey commented on August 29, 2024

@MattSturgeon
https://github.com/jirafey/nixconfig/tree/b3b5cbfc0dd755355c87dfd092c24c6584a700c0

I would look for some issues with the permissions of the user/sudo

This is a very new config and that is probably why it does not work yet. I probably will abandon nixvim but I am willing to help debug this issue.

from nixvim.

MattSturgeon avatar MattSturgeon commented on August 29, 2024

I don't see any obvious issues in your config. I suspect this is an issue on our end.

I've not used lightline myself, but my config with lualine seems to be working ok with catppuccin.

from nixvim.

ech0r avatar ech0r commented on August 29, 2024

manually adding gruvbox under extraPlugins worked for me:

    programs.nixvim = {
	enable = true;
        defaultEditor = true;
        extraPlugins = with pkgs.vimPlugins; [
        	gruvbox
        ];
	colorschemes.gruvbox.enable = true;
        plugins.lightline.enable = true;
    };

from nixvim.

MattSturgeon avatar MattSturgeon commented on August 29, 2024

This seems to be the same issue as this discussion, see my response there: #1575 (reply in thread)

tl;dr, since 871e331 our gruvbox module installs gruvbox-nvim which is different to gruvbox. I wonder if lightline only supports the latter and not the one we normally install?

from nixvim.

jirafey avatar jirafey commented on August 29, 2024

This seems to be the same issue as this discussion, see my response there: #1575 (reply in thread)

tl;dr, since 871e331 our gruvbox module installs gruvbox-nvim which is different to gruvbox. I wonder if lightline only supports the latter and not the one we normally install?

hey if there is any help needed from me, let me know, maybe this issue is ready for close?

from nixvim.

MattSturgeon avatar MattSturgeon commented on August 29, 2024

if the example in the README is broken this is still a valid issue.

#2078 didn't address the README example, so I'll re-open this.

from nixvim.

Related Issues (20)

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.