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 f434137 commit 86aad74Copy full SHA for 86aad74
elisp/shm-ast.el
@@ -331,11 +331,10 @@ expected to work."
331
(line-end-position))))
332
;; Don't activate if we're doing a GHCi command.
333
(unless (and (string-match "^:" whole-line)
334
- (not (string-match "^:t[^ ]* " whole-line))
335
- (not (string-match "^:k[^ ]* " whole-line)))
+ (not (string-match "^:[tk] " whole-line)))
336
(cons (save-excursion
337
(goto-char haskell-interactive-mode-prompt-start)
338
- (when (looking-at ":[kt][^ ]* ")
+ (when (looking-at ":[kt] ")
339
(search-forward " " (point-max) t 1))
340
(point))
341
(line-end-position))))))))))
0 commit comments