You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zk/docs/config-lsp.md

1.0 KiB

LSP configuration

The [lsp] configuration file section provides settings to fine-tune the LSP editors integration.

Diagnostics

Use the [lsp.diagnostics] sub-section to configure how LSP diagnostics are reported to your editors. Each diagnostic setting can be:

  • An empty string or none to ignore this diagnostic.
  • hint, info, warning or error to enable and set the severity of the diagnostic.
Setting Default Description
wiki-title "none" Report titles of wiki-links, which is useful if you use IDs for filenames
dead-link "error" Warn for dead links between notes

Complete example

[lsp]

[lsp.diagnostics]
# Report titles of wiki-links as hints.
wiki-title = "hint"
# Warn for dead links between notes.
dead-link = "error"