Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kristinita opened this issue Feb 12, 2017 · 2 comments
Open

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

Kristinita opened this issue Feb 12, 2017 · 2 comments

Comments

@Kristinita
Copy link
Contributor

Kristinita commented Feb 12, 2017

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:

  • text.html.markdown.academicmarkdown markup.raw.block.markdown markup.raw.block.fenced.markdown meta.object-literal.js string.quoted.single.js constant.character.escape.js ,
  • text.html.markdown.academicmarkdown markup.raw.block.markdown markup.raw.block.fenced.markdown support.type.exception.python ,
  • text.html.markdown.academicmarkdown markup.raw.block.markdown markup.raw.block.fenced.markdown meta.object-literal.js constant.numeric.js .

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:

  • text.html.markdown.academicmarkdown meta.paragraph.markdown.

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
Copy link
Contributor Author

Kristinita commented Feb 11, 2018

@gtarawneh, still relevant in 2018.

Thanks.

@Kristinita
Copy link
Contributor Author

@gtarawneh , issue still relevant as of May 2020.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant