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 4c58749 commit f64ec28Copy full SHA for f64ec28
haskell-cabal.el
@@ -455,7 +455,11 @@ OTHER-WINDOW use `find-file-other-window'."
455
(goto-char (point-min))
456
(haskell-cabal-next-section)
457
(while (not (eobp))
458
- (push (haskell-cabal-section-value (haskell-cabal-section)) matches)
+ (if (haskell-cabal-source-section-p (haskell-cabal-section))
459
+ (let ((val (haskell-cabal-section-value (haskell-cabal-section))))
460
+ (if (string= val "")
461
+ (push "library" matches)
462
+ (push val matches))))
463
(haskell-cabal-next-section))
464
(reverse matches))))))
465
0 commit comments