Skip to content

Commit

Permalink
fix(settings): diagnostics_level should be all upper case
Browse files Browse the repository at this point in the history
Signed-off-by: Jint-lzxy <[email protected]>
  • Loading branch information
Jint-lzxy committed Jun 18, 2024
1 parent c35ae46 commit 6567284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/core/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ settings["diagnostics_virtual_text"] = true
-- Priority: `Error` > `Warning` > `Information` > `Hint`.
-- > e.g. if you set this option to `Warning`, only lsp warnings and errors will be shown.
-- NOTE: This entry only works when `diagnostics_virtual_text` is true.
---@type "Error"|"Warning"|"Information"|"Hint"
settings["diagnostics_level"] = "Hint"
---@type "ERROR"|"WARN"|"INFO"|"HINT"
settings["diagnostics_level"] = "HINT"

-- Set it to false if you don't use nvim to open big files.
---@type boolean
Expand Down

0 comments on commit 6567284

Please sign in to comment.