Skip to content

Commit d52690d

Browse files
VenInffendor
andauthored
Update plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal.hs
Co-authored-by: fendor <[email protected]>
1 parent e1f0901 commit d52690d

File tree

1 file changed

+0
-1
lines changed
  • plugins/hls-cabal-plugin/src/Ide/Plugin

1 file changed

+0
-1
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ hover ide _ msgParam = do
375375
regex = "([a-zA-Z0-9-]*[a-zA-Z0-9])"
376376

377377
getMatch :: (T.Text, T.Text, T.Text, [T.Text]) -> Maybe T.Text
378-
getMatch (_, _, _, []) = Nothing
379378
getMatch (_, _, _, [dependency]) = Just dependency
380379
getMatch (_, _, _, _) = Nothing -- impossible case
381380

0 commit comments

Comments
 (0)