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

[FEATURE] Ability to Define Language-Specific Settings (beyond syntaxIgnore) #77

Open
LangLangBart opened this issue Sep 20, 2024 · 0 comments

Comments

@LangLangBart
Copy link

Currently, the extension supports trailing-spaces.syntaxIgnore to ignore specific languages, but there is no way to define language-specific settings, other than ignoring all other languages.

  "trailing-spaces.syntaxIgnore": [
    "bat",
    "c",
    "clojure",
    "coffeescript",
    "cpp",
    ...

For example, it would be useful to define settings specifically for markdown like this:

{
  "[markdown]": {
    "trailing-spaces.includeEmptyLines": true,
    "trailing-spaces.regexp": "^[\\s]+",
    "trailing-spaces.trimOnSave": true
  }
}

Currently unsupported:

Thank you!

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