AtomLinter / linter-spell-latex

Provider for Atom linter-spell package to enable LaTeX spell checking.
MIT License
8 stars 7 forks source link

Ignore LaTeX key-words #10

Closed auzias closed 8 years ago

auzias commented 8 years ago

Most* LaTeX keywords (and file-defined commands) are red-dashed-underligned.

*: non-english ones such as subsections or \ttfamily, not the section or chapter ones.

Otherwise: congrats !! Great work!! Awesome package :+1:

yitzchak commented 8 years ago

The misspellings should show up as a warning which in linter is usually a yellow underline. Do you have the spell-check package active?

auzias commented 8 years ago

Here is the list of the packages I use: TL;DR: no, I do not have spell-check package active.

git-time-machine@1.5.3
intentions@1.1.2
language-latex@0.6.1
latexer@0.3.0
linter@1.11.16
linter-spell@0.10.3
linter-spell-latex@0.8.0
minimap@4.24.7

Nevertheless as the color you specified (yellow underline) I now wonder whether it comes from an other package but I do not see which one it could be...

yitzchak commented 8 years ago

If the red-underline is a spell error from linter-spell it should respond to alt-enter for the intentions package. Can you do a screen shot?

BTW, spell-check is core package so it will be the "Core Packages" list.

auzias commented 8 years ago

You're right. No need for screenshot: when the spell-check (that was enabled, indeed) is disabled there isn't red underlined words anymore.

yitzchak commented 8 years ago

Great. Seems like this could be a common problem, so I am going to tag this as enhancement. I will eventually add a check for spell-check being active and give a warning to the user in that case.

Thanks for reporting!

auzias commented 8 years ago

You're welcome!

You may wish to add this GH issue link to your warning and suggest users to request solving this bug or even do a PR.

Great work again!