Skip to content

Commit

Permalink
Update AutoOverridePlugin.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored Sep 2, 2024
1 parent 919f8b3 commit 265af1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion moduledefs/plugin/src-2/AutoOverridePlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class AutoOverridePlugin(val global: Global) extends Plugin {
override def transformUnit(unit: CompilationUnit) = {
if (
unit.source.file.name.endsWith(".scala") ||
unit.source.file.name.endsWith(".sc")
unit.source.file.name.endsWith(".sc") ||
unit.source.file.name.endsWith(".mill")
) {
comments.parseComments(unit)
super.transformUnit(unit)
Expand Down

0 comments on commit 265af1d

Please sign in to comment.