Skip to content

Commit d558e9a

Browse files
committed
Comment about GetHlintDiagnostics RuleResult
1 parent 21b47f2 commit d558e9a

File tree

1 file changed

+2
-0
lines changed
  • plugins/hls-hlint-plugin/src/Ide/Plugin

1 file changed

+2
-0
lines changed

plugins/hls-hlint-plugin/src/Ide/Plugin/Hlint.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ descriptor plId = (defaultPluginDescriptor plId)
7777
, pluginCodeActionProvider = Just codeActionProvider
7878
}
7979

80+
-- This rule only exists for generating file diagnostics
81+
-- so the RuleResult is empty
8082
data GetHlintDiagnostics = GetHlintDiagnostics
8183
deriving (Eq, Show, Typeable, Generic)
8284
instance Hashable GetHlintDiagnostics

0 commit comments

Comments
 (0)