Open m4lvin opened 7 years ago
This runs on the following grammar scopes:
grammarScopes: ['text.tex.latex', 'text.tex.latex.beamer', 'text.tex.latex.memoir', 'text.tex.latex.knitr']
If you know the correct scope to add for Literate Haskell (and chktex works on it), I am happy to add it.
The scope seems to be text.tex.latex.haskell
. However, after adding this to grammarScopes
, a lot of errors in the code environments are marked, so apparently chktex
is not compatible with literate haskell files. Or is there a away to ignore certain environments?
Is there a way to run chktex on .lhs files which contain LaTeX? Currently the chktex linter is only available when the current file is named
.tex
.