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

[Request] Support different comment-divider.length for different language #55

Open
vepain opened this issue May 29, 2024 · 1 comment
Open

Comments

@vepain
Copy link

vepain commented May 29, 2024

An option comment-divider.languagesLengthMap should precise the line length for a particular language:

"comment-divider.languagesLengthMap": {
      "toml": 80,
      "scss": 120
}

This option should have the priority over the comment-divider.length option.
If a language is not present in the new option comment-divider.languagesLengthMap, then the default given by comment-divider.length is applied.

@vepain
Copy link
Author

vepain commented Jun 13, 2024

The option comment-divider.length should also (preferred) be language specific:

"[toml]": {
  "comment-divider.length": 80
},
"[scss]": {
  "comment-divider.length": 120
}

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