summaryrefslogtreecommitdiff
path: root/support/texlab/docs/options.md
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-07-04 03:03:43 +0000
committerNorbert Preining <norbert@preining.info>2022-07-04 03:03:43 +0000
commit1c10375ec46d7d83b2f1efc2a71b7ea114c889f0 (patch)
tree47b3469111105b7767111dcb89858fbc1e73377f /support/texlab/docs/options.md
parent34d318af65decbdb242ae03b64bf3f53266067b6 (diff)
CTAN sync 202207040303
Diffstat (limited to 'support/texlab/docs/options.md')
-rw-r--r--support/texlab/docs/options.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/support/texlab/docs/options.md b/support/texlab/docs/options.md
index e1a69c4996..9b3599cce1 100644
--- a/support/texlab/docs/options.md
+++ b/support/texlab/docs/options.md
@@ -77,6 +77,8 @@ In this case, use the `-outdir` flag for `latexmk`.
**Default value:** `.` (the same directory as the TeX file)
+---
+
## texlab.forwardSearch.executable
Defines the executable of the PDF previewer.
@@ -135,6 +137,38 @@ Delay in milliseconds before reporting diagnostics.
---
+## texlab.diagnostics.allowedPatterns
+
+A list of regular expressions used to filter the list of reported diagnostics.
+If specified, only diagnostics that match _at least one_ of the specified patterns
+are sent to the client.
+
+See also [`texlab.diagnostics.ignoredPatterns`](#texlabdiagnosticsignoredpatterns).
+
+_Hint_:
+If both `allowedPatterns` and `ignoredPatterns` are set,
+then allowed patterns are applied first. Afterwards, the results are filtered with the ignored patterns.
+
+**Type:** `RegExp[]`
+
+**Default value:** `[]`
+
+---
+
+## texlab.diagnostics.ignoredPatterns
+
+A list of regular expressions used to filter the list of reported diagnostics.
+If specified, only diagnostics that match _none_ of the specified patterns
+are sent to the client.
+
+See also [`texlab.diagnostics.allowedPatterns`](#texlabdiagnosticsallowedpatterns).
+
+**Type:** `RegExp[]`
+
+**Default value:** `[]`
+
+---
+
## texlab.formatterLineLength
Defines the maximum amount of characters per line (0 = disable) when formatting BibTeX files.