Skip to content
Closed
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: 1 addition & 1 deletion templates/repo/file_info.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</div>
{{end}}
{{if .LexerName}}
<div class="file-info-entry">
<div class="file-info-entry" data-lexer-name="{{.LexerName}}">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the new attribute is not used in the current code base, it needs a clear comment to describe why it is added, otherwise it would be removed in the future again when some people find that it is not used.

{{.LexerName}}
</div>
{{end}}
Expand Down
Loading