Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 4893372

Browse files
github-actions[bot]lukas-reineke
authored andcommitted
chore: generated vimdoc (#182)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 6be9ca2 commit 4893372

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/feline.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -901,9 +901,12 @@ configured and at least one LSP client to be attached to the current buffer,
901901
else they’ll have no output.
902902

903903
The diagnostics provider also provides a utility function
904-
`require('feline.providers.lsp').diagnostics_exist(type)` for checking if any
905-
diagnostics of the provided type exists. The values of `type` must be one of
906-
`'Error'`, `'Warning'`, `'Hint'` or `'Information'`.
904+
`require('feline.providers.lsp').diagnostics_exist` for checking if any
905+
diagnostics exists. You can also optionally provide a `severity` function
906+
argument to only check for diagnostics of that severity. The value of
907+
`severity` must be one of the Neovim diagnostic API severities (eg:
908+
`vim.diagnostic.severity.WARN`). For more info on diagnostic severities, do
909+
`:help vim.diagnostic.severity` in Neovim.
907910

908911
THEMES *feline-themes*
909912

0 commit comments

Comments
 (0)