vim-LanguageTool
vim-LanguageTool copied to clipboard
Use detex to parse Tex files
LanguageTool is a great tool. And the latex writing is one of it major uses.
This simple code removes the latex code before call LanguageTool.
I do not know if you accept PRs, but here is. :)
Thanks, this is verry usefull.
This looks very useful, can we get this merged?
I would love to use this. Is there anything holding it back from merging?
Thanks for the work! I inserted the changed snippet, but the location of the detected words is not correct with the current master branch. Hence the highlight didn't work.
It would be a lot more versatile if we could define the command that the document is piped through before arriving at LanguageTool.
The ftplugins/*
files could set it to detex
for TeX file types, or deroff
for Roff file types. It would also allow me to write my own filter to strip formatting from markdown files if I wanted to.
This is pretty much how it was done in the old days, so there will often be pre-existing filters.