You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to use ltex on rst files in vscode.
As it lacks some linting capabilities for rst i want to add them myself to remove false positives.
i have a .vscode\ltex.hiddenFalsePositives.en-US.txt file that works for me except I fail to match code blocks via regex.
Actually i even fail to match the first line. I'm out of clues what i'am doing wrong.
the rule "{\"rule\":\"UPPERCASE_SENTENCE_START\",\"sentence\":\"^\\\\ *\\\\.\\\\.\\\\ +code-block::.*?$\"}"
results, after parsed twice, in this regex ^\ *\.\.\ +code-block::.*?$
that matches this string ".. code-block:: json\r\n\r\n {\r\n \"test\": 123\r\n }\r\n"
So either the regexp is wrong escaped or the server does apply the regex differently than i think
Hello,
i want to use ltex on rst files in vscode.
As it lacks some linting capabilities for rst i want to add them myself to remove false positives.
i have a .vscode\ltex.hiddenFalsePositives.en-US.txt file that works for me except I fail to match code blocks via regex.
Actually i even fail to match the first line. I'm out of clues what i'am doing wrong.
here is my example.
example.zip
.vscode\ltex.hiddenFalsePositives.en-US.txt
The last line does not match
test.rst
The text was updated successfully, but these errors were encountered: