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

comment: Register a few extra Scheme file extensions. #875

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Contributors

- Anthony Loiseau

- Apteryks

Translators
-----------

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Empty placeholders (`.empty`) (#862)
- ShellCheck configuration (`.shellcheckrc`) (#862)
- Pylint in-project configuration (`pylintrc`) (#862)
- Lisp schemes (`.sld`, `.sls`, `.sps`) (#875)
- Display recommendations for steps to fix found issues during a lint. (#698)
- Add support for Pijul VCS. Pijul support is not added to the Docker image.
(#858)
Expand Down
3 changes: 3 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,8 +712,11 @@ class XQueryCommentStyle(CommentStyle):
# SuperCollider synth definition (binary)
".scsyndef": UncommentableCommentStyle,
".sh": PythonCommentStyle,
".sld": LispCommentStyle, # Scheme Library Definition (R7RS)
".sls": LispCommentStyle, # Scheme Library Source (R6RS)
".sml": MlCommentStyle,
".soy": CCommentStyle,
".sps": LispCommentStyle, # Scheme Program Source (R6RS)
".sql": HaskellCommentStyle,
".sty": TexCommentStyle,
".svg": UncommentableCommentStyle,
Expand Down
Loading