This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defconst hs-imports-imports-start-regexp | |
(rx (group (and bol "import ")))) | |
(defconst hs-imports-language-start-regexp | |
(rx (group (and bol "{-# LANGUAGE ")))) | |
(defun hs-imports--search-beg-point (start what &optional end) | |
"Search the first import line until reach the END point." | |
(save-excursion |
OlderNewer