insert foo = undefined if "No inferred type".
insert guessed type even if it is contains in second line or later.
This commit is contained in:
@@ -19,8 +19,10 @@
|
||||
(beginning-of-line)
|
||||
(looking-at "^[^ ]+ *::"))
|
||||
(ghc-insert-function-template))
|
||||
((ghc-flymake-have-errs-p)
|
||||
(ghc-flymake-insert-from-warning))
|
||||
(t
|
||||
(ghc-flymake-insert-type))))
|
||||
(message "Nothing to be done"))))
|
||||
|
||||
(defun ghc-insert-module-template ()
|
||||
;; xxx mod from filename...
|
||||
|
||||
Reference in New Issue
Block a user