We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f31ffb commit 839e75cCopy full SHA for 839e75c
plugins/hls-hlint-plugin/src/Ide/Plugin/Hlint.hs
@@ -246,7 +246,7 @@ codeActionProvider _lf ideState plId docId _ context = Right . LSP.List . map CA
246
LSP.List diags = context ^. LSP.diagnostics
247
248
mkHlintAction :: LSP.Diagnostic -> IO (Maybe LSP.CodeAction)
249
- mkHlintAction diag@(LSP.Diagnostic (LSP.Range start _) _s (Just (LSP.StringValue code)) (Just "hlint") m _ _) =
+ mkHlintAction diag@(LSP.Diagnostic (LSP.Range start _) _s (Just (LSP.StringValue code)) (Just "hlint") _ _ _) =
250
Just . codeAction <$> mkLspCommand plId "applyOne" title (Just args)
251
where
252
codeAction cmd = LSP.CodeAction title (Just LSP.CodeActionQuickFix) (Just (LSP.List [diag])) Nothing (Just cmd)
0 commit comments