config: ignore math during spell check

This commit is contained in:
Laurens Valk
2020-01-16 11:57:19 +01:00
parent 834a2173b4
commit f597ed1f88
2 changed files with 6 additions and 1 deletions
+4 -1
View File
@@ -7,10 +7,13 @@
"spellright.language": [
"en_US"
],
"spellright.ignoreRegExps": [
"/.. math::[^]*?.. endmath/gm",
],
"spellright.documentTypes": [
"markdown",
"latex",
"plaintext",
"python"
]
}
}
+2
View File
@@ -246,3 +246,5 @@ Fahrenheit (°F) or Kelvin (K), you can use the following conversion formulas:
°\!F & = & °\!C \cdot \frac{9}{5} + 32\\
K & = & °\!C + 273.15
\end{eqnarray}
.. endmath