Add lookup-handlers for idris-mode

This commit is contained in:
Henrik Lissner 2018-08-22 03:34:51 +02:00 committed by GitHub
parent f80b9bb8c5
commit c5334f61a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,9 @@
(after! idris-mode (after! idris-mode
(add-hook! 'idris-mode-hook 'turn-on-idris-simple-indent) (add-hook! 'idris-mode-hook 'turn-on-idris-simple-indent)
(set-repl-handler! 'idris-mode 'idris-pop-to-repl) (set-repl-handler! 'idris-mode 'idris-pop-to-repl)
(set-lookup-handlers! 'idris-mode
:documentation #'idris-docs-at-point
:file #'idris-load-file)
(map! :map idris-mode-map (map! :map idris-mode-map
:localleader :localleader
:n "r" #'idris-load-file :n "r" #'idris-load-file