Skip to content

Commit

Permalink
Update plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal.hs
Browse files Browse the repository at this point in the history
Co-authored-by: fendor <[email protected]>
  • Loading branch information
VenInf and fendor authored Aug 26, 2024
1 parent e1f0901 commit d52690d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ hover ide _ msgParam = do
regex = "([a-zA-Z0-9-]*[a-zA-Z0-9])"

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

Expand Down

0 comments on commit d52690d

Please sign in to comment.