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 c27b9bc commit 7f37ba5Copy full SHA for 7f37ba5
haskell-commands.el
@@ -307,9 +307,12 @@ given a prefix arg."
307
If PROMPT-VALUE is non-nil, request identifier via mini-buffer."
308
(interactive "P")
309
(haskell-process-do-simple-echo
310
- (let ((ident (if prompt-value
311
- (read-from-minibuffer "Info: " (haskell-ident-at-point))
312
- (haskell-ident-at-point)))
+ (let ((ident (replace-regexp-in-string
+ "^!\\([A-Z_a-z]\\)"
+ "\\1"
313
+ (if prompt-value
314
+ (read-from-minibuffer "Info: " (haskell-ident-at-point))
315
+ (haskell-ident-at-point))))
316
(modname (unless prompt-value
317
(haskell-utils-parse-import-statement-at-point))))
318
(if modname
0 commit comments