Created
April 19, 2020 17:07
-
-
Save prednaz/ec6ff0b984c38a77f6d025d8ed0c6524 to your computer and use it in GitHub Desktop.
This file contains 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
(defvar haskell-indentation-mode-map | |
(let ((map (make-sparse-keymap))) | |
(define-key map (kbd "RET") #'haskell-indentation-newline-and-indent) | |
(define-key map (kbd "<backtab>") #'haskell-indentation-indent-backwards) | |
(define-key map (kbd ",") #'haskell-indentation-common-electric-command) | |
(define-key map (kbd ";") #'haskell-indentation-common-electric-command) | |
(define-key map (kbd ")") #'haskell-indentation-common-electric-command) | |
(define-key map (kbd "}") #'haskell-indentation-common-electric-command) | |
(define-key map (kbd "]") #'haskell-indentation-common-electric-command) | |
map) | |
"Keymap for `haskell-indentation-mode'.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment