1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 23:42:47 +01:00

treewide(docs): use literalLua instead of __raw in option examples

This commit is contained in:
Axel Karjalainen 2025-10-04 22:38:00 +03:00 committed by Gaétan Lepage
parent 5aae2b9fcd
commit 5ddfbdf1c2
23 changed files with 54 additions and 57 deletions

View file

@ -103,7 +103,7 @@ in
method, described in [BUILTIN_CONFIG](https://github.com/nvimtools/none-ls.nvim/blob/main/doc/BUILTIN_CONFIG.md).
'';
fallback_severity = defaultNullOpts.mkUnsignedInt { __raw = "vim.diagnostic.severity.ERROR"; } ''
fallback_severity = defaultNullOpts.mkUnsignedInt (lib.nixvim.literalLua "vim.diagnostic.severity.ERROR") ''
Defines the severity used when a diagnostic source does not explicitly define a severity.
See `:help diagnostic-severity` for available values.
'';