nvf
nvf copied to clipboard
NVF crashes with oxocarbon theme and transparent set to true
I have confirmed that this is a bug related to nvf
- [x] This is a bug, and not an user error or a support request. I understand that my issue will be closed if it is not a bug in nvf.
- [x] I have checked the issues tab and confirmed that my issue has not yet been reported. I understand that my issue will be closed if it is a duplicate.
Description
The oxocarbon dark transparent theme crashes NVF:
Error detected while processing VIMINIT..script /nix/store/9108xgifl452m7iaysr02sdf3mq3kmx2-mnw-configDir/init.lua:
E5113: Error while calling lua chunk: ...k/mnw/start/indent-blankline-nvim/lua/ibl/highlights.lua:95: No highlight group 'IblScope' found
stack traceback:
[C]: in function 'error'
...k/mnw/start/indent-blankline-nvim/lua/ibl/highlights.lua:95: in function 'setup'
...ir/pack/mnw/start/indent-blankline-nvim/lua/ibl/init.lua:41: in function 'setup'
...ir/pack/mnw/start/indent-blankline-nvim/lua/ibl/init.lua:57: in function 'setup'
/nix/store/qg5rgc6dgjn5yria7bahwlc7075v0xik-init.lua:479: in main chunk
[C]: in function 'dofile'
.../9108xgifl452m7iaysr02sdf3mq3kmx2-mnw-configDir/init.lua:5: in main chunk
Press ENTER or type command to continue
Installation Method
Home Manager Module (homeManagerModules.default)
Installation Method (Other)
No response
nvf Version
master
Reproduction steps
My nvf config: https://codeberg.org/Axe/NixOS-Config/src/branch/master/home/nvf.nix Minimal config:
{
programs.nvf = {
enable = true;
settings = {
vim = {
theme = {
enable = true;
name = "oxocarbon";
style = "dark";
transparent = true;
};
};
};
};
}
Expected behavior
Starting nvim should load NVF with the oxocarbon theme and a transparent background
Actual Behavior
Error detected while processing VIMINIT..script /nix/store/9108xgifl452m7iaysr02sdf3mq3kmx2-mnw-configDir/init.lua:
E5113: Error while calling lua chunk: ...k/mnw/start/indent-blankline-nvim/lua/ibl/highlights.lua:95: No highlight group 'IblScope' found
stack traceback:
[C]: in function 'error'
...k/mnw/start/indent-blankline-nvim/lua/ibl/highlights.lua:95: in function 'setup'
...ir/pack/mnw/start/indent-blankline-nvim/lua/ibl/init.lua:41: in function 'setup'
...ir/pack/mnw/start/indent-blankline-nvim/lua/ibl/init.lua:57: in function 'setup'
/nix/store/qg5rgc6dgjn5yria7bahwlc7075v0xik-init.lua:479: in main chunk
[C]: in function 'dofile'
.../9108xgifl452m7iaysr02sdf3mq3kmx2-mnw-configDir/init.lua:5: in main chunk
Press ENTER or type command to continue
It then gives an unthemed neovim
System Information
- system: `"x86_64-linux"`
- host os: `Linux 6.12.41, NixOS, 25.11 (Xantusia), 25.11.20250812.005433b`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.28.4`
- nixpkgs: `/nix/store/2fyl9bwhakvmp7gykgv3dhnpvwp9j8mn-source`
Relevant log output
Error detected while processing VIMINIT..script /nix/store/9108xgifl452m7iaysr02sdf3mq3kmx2-mnw-configDir/init.lua:
E5113: Error while calling lua chunk: ...k/mnw/start/indent-blankline-nvim/lua/ibl/highlights.lua:95: No highlight group 'IblScope' found
stack traceback:
[C]: in function 'error'
...k/mnw/start/indent-blankline-nvim/lua/ibl/highlights.lua:95: in function 'setup'
...ir/pack/mnw/start/indent-blankline-nvim/lua/ibl/init.lua:41: in function 'setup'
...ir/pack/mnw/start/indent-blankline-nvim/lua/ibl/init.lua:57: in function 'setup'
/nix/store/qg5rgc6dgjn5yria7bahwlc7075v0xik-init.lua:479: in main chunk
[C]: in function 'dofile'
.../9108xgifl452m7iaysr02sdf3mq3kmx2-mnw-configDir/init.lua:5: in main chunk
Press ENTER or type command to continue
I believe this is a bug in the indent-blankline plugin that occurs when it is enabled simultaneously with Oxocarbon. I am not entirely sure if we can actually fix this, but I'll bump both plugins and see if it helps.