diagnostic.settings usage #3578
-
| Hi, I am trying to setup diagnostic icons in nixvim, I have come across this post online but couldn't translate it to nix: https://vi.stackexchange.com/questions/45312/how-do-i-change-characters-used-nvim-diagnostics-signs I know it should go in but couldn't make it work. I have also found this post but it didn't work for me: #3398 Some help would be much appreciated. Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Answered by monr3d Aug 5, 2025
Replies: 1 comment 1 reply
-
| If you still need help, here my config: diagnostic.settings = { severity_sort = true; signs = { text = { "__rawKey__vim.diagnostic.severity.ERROR" = ""; "__rawKey__vim.diagnostic.severity.WARN" = ""; "__rawKey__vim.diagnostic.severity.HINT" = ""; "__rawKey__vim.diagnostic.severity.INFO" = ""; }; }; underline = { severity.__raw = ''vim.diagnostic.severity.ERROR''; }; virtual_lines = { current_line = true; }; virtual_text = { spacing = 2; source = "if_many"; prefix = "●"; }; }; |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by marvin-tr-81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
If you still need help, here my config: