You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ Please verify that this bug has NOT been reported before.
I checked all existing issues and didn't find a similar issue
Description
It seems that at the time of writing the vim.diagnostics.config.signs option is broken. Giving it a boolean value seems to work fine but following the example in the docs, I was unable to customize the diagnostics sign characters.
👟 Reproduction steps
set vim.diagnostics.config.signs to docs example: { signs = { text = { "vim.diagnostic.severity.ERROR" = " "; "vim.diagnostic.severity.WARN" = " "; }; }; }
This has been brought to my attention recently. Looks like we cannot actually set this inside the diagnostics submodule as a limitation of toLuaObject that we use internally.
You can, for now, use lua inside luaConfigRC to set diagnostic signs. I will also add. top-level module to allow setting those in Nix from a different API.
This has been brought to my attention recently. Looks like we cannot actually set this inside the diagnostics submodule as a limitation of toLuaObject that we use internally.
You can, for now, use lua inside luaConfigRC to set diagnostic signs. I will also add. top-level module to allow setting those in Nix from a different API.
Alright, thanks for the reply! I am (very) new to nfv and I'm loving it so far. I thought I was going a bit mad when I took the example from the docs and it didn't end up working since everything else so far has been seamless. I'd (humbly) suggest removing the broken example temporarily since it could be seen as confusing. In any case, I love what you're doing and thankd for taking the time to reply
Description
It seems that at the time of writing the
vim.diagnostics.config.signs
option is broken. Giving it a boolean value seems to work fine but following the example in the docs, I was unable to customize the diagnostics sign characters.👟 Reproduction steps
set
vim.diagnostics.config.signs
to docs example:{ signs = { text = { "vim.diagnostic.severity.ERROR" = " "; "vim.diagnostic.severity.WARN" = " "; }; }; }
👀 Expected behavior
signcol contains (/)
😓 Actual Behavior
signcol contains (E/W)
💻 Metadata
"x86_64-linux"
- host os:Linux 6.12.24, NixOS, 25.05 (Warbler), 25.05.20250424.f771eb4
- multi-user?:yes
- sandbox:yes
- version:nix-env (Nix) 2.28.2
- nixpkgs:/nix/store/707m8gfbdyxhg1sgkiw5x9zh84ya012r-source
📝 Relevant log output
The text was updated successfully, but these errors were encountered: