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.
2 parents 5d770f8 + cda416c commit 4892713Copy full SHA for 4892713
haskell.el
@@ -80,7 +80,9 @@
80
(let ((p (point)))
81
(and (search-backward "{-#" nil t)
82
(search-forward-regexp "\\_<OPTIONS\\(?:_GHC\\)?\\_>" p t))))
83
- (looking-back (rx symbol-start "-" (* (char alnum ?-)))))
+ (looking-back
84
+ (rx symbol-start "-" (* (char alnum ?-)))
85
+ (line-beginning-position)))
86
(list (match-beginning 0) (match-end 0) haskell-ghc-supported-options))
87
;; Complete LANGUAGE :complete repl ":set -X..."
88
((and (nth 4 (syntax-ppss))
0 commit comments