valentjn / vscode-ltex

LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
800 stars 27 forks source link

False positive loop with LTeX(ANY_MORE) and LTeX(ANYMORE_ADVERB) #835

Open apokalyps1 opened 1 year ago

apokalyps1 commented 1 year ago

The test for using "any more" vs "anymore" turns into an infinite false positive loop where the check for anymore being used as an adverb going against the check for meaning anymore and vice versa

steps to reproduce: type "can i fit any more into this div," or any similar sentence. witness no correct solutions and an infinite loop of contradicting corrections which may be confusing

probably solution: If sentence context in "ANY_MORE" says its not an adverb don't show "ANY_MORE".