gtarawneh / languagetool-sublime

Proof-reading and grammar checker for English, French, German, Polish and 20+ other languages
71 stars 13 forks source link

[Question] Ignored all scopes, contains $N$ #22

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

1. Summary

I don't understand, how I can ignored in spellchecking all scopes, contains $N$ in scope name. For example, I want to ignore all scopes, that contained markup.raw.block.markdown.

2. Settings

I use syntax AcademicMarkdown for my Markdown files.

For example, I have test.md file: https://www.pastery.net/zucvwe/raw/.

Part of my User\LanguageTool.sublime-settings file:

"ignored-scopes": [
    "*markup.raw.block.markdown*",
    "*markup.raw.inline.markdown*",
]

3. Expected behavior

I want, that these scopes will not check:

I have many scopes, that I want to ignore. Add all of them manually — I spend a lot of time. But all scopes was contained markup.raw.block.markdown.

4. Actual behavior

I want, that this scope will check:

5. Steps to reproduce

The problem is reproduced for me in a version of Sublime Text without plugins and user settings.

I open test.md file → Ctrl+Shift+PLanguageTool: Check Text → unexpected scopes are highlight for me:

Unexpected scopes

6. Environment

Operating system and version: Windows 10 Enterprise LTSB 64-bit EN Sublime Text: Build 3126

Thanks.

Kristinita commented 6 years ago

@gtarawneh, still relevant in 2018.

Thanks.

Kristinita commented 4 years ago

@gtarawneh , issue still relevant as of May 2020.

Thanks.