valentjn / ltex-ls

LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
717 stars 33 forks source link

How do I ignore a specific syntax element? #260

Open UtkarshVerma opened 1 year ago

UtkarshVerma commented 1 year ago

I use Hugo for my blog and it supports shortcodes.

The syntax is something like this:

{{< code file="code/wscript" lang="python" >}}

image

Currently, ltex-ls treats it as plain text and offers corrections for it. How do I tell it to ignore suggestions for these?