Comments (10)
@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
:
nixvim/plugins/statuslines/lightline.nix
Lines 19 to 24 in e48ce78
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.
from nixvim.
I see gruvbox when using
nvim
withoutsudo
but I don't when using it withsudo
Also in repositories I have access to, the gruvbox colorscheme is applying with both
sudo
andnon-sudo
nvim
command. However the error with lightline still appears onnon-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.
I see gruvbox when using
nvim
withoutsudo
but I don't when using it withsudo
Also in repositories I have access to, the gruvbox colorscheme is applying with bothsudo
andnon-sudo
nvim
command. However the error with lightline still appears onnon-sudo
nvim
commandThis 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 likesudo -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.
@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.
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.
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.
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.
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 togruvbox
. 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.
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)
- Better `package` option helpers HOT 1
- [BUG] The update CI schedules on forks
- [PLUGIN REQUEST] FeMaco
- [BUG] Alias @astrojs/language-server is still in node-packages.nix HOT 2
- [BUG] flaky codium test in cmp-sources
- [BUG] `disallowedRequisites` is used on a derivation that doesn't support it HOT 2
- [PLUGIN REQUEST] flutter-tools
- [BUG] Error with vscode-langservers-extracted dependent lsp servers HOT 3
- [BUG] Error when lsp html server is enabled HOT 1
- how to lazy: plugins with submodules
- [BUG] enabling some lsp servers fails to build because of `vscode-langservers-extracted` HOT 3
- [BUG] lightline is generating a wrong key name for component_function HOT 2
- [BUG] Conform plugin config using deprecated syntax for stop after first formatter HOT 4
- 'diagnostics' seemingly unavailable under programs.nixvim.* when used with home-manager HOT 2
- [PLUGIN REQUEST] helpview.nvim
- cmp `autoEnableSources` behaviour should be documented more prominently
- [PLUGIN REQUEST] Avante
- [PLUGIN REQUEST] ts-comments.nvim
- [PLUGIN REQUEST] sg.nvim (Cody)
- A flag to enable icon support in telescope
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixvim.