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!
Currently, the extension supports
trailing-spaces.syntaxIgnoreto ignore specific languages, but there is no way to define language-specific settings, other than ignoring all other languages.For example, it would be useful to define settings specifically for
markdownlike this:{ "[markdown]": { "trailing-spaces.includeEmptyLines": true, "trailing-spaces.regexp": "^[\\s]+", "trailing-spaces.trimOnSave": true } }Currently unsupported:
Thank you!