Autocomplete Elm with M-<tab>

This commit is contained in:
Vladan Popovic 2019-12-08 21:51:46 +01:00
parent 1263e29b8b
commit 0342b99e1f

View file

@ -14,7 +14,7 @@
'(add-hook 'flycheck-mode-hook #'flycheck-elm-setup)) '(add-hook 'flycheck-mode-hook #'flycheck-elm-setup))
(add-to-list 'company-backends 'company-elm) (add-to-list 'company-backends 'company-elm)
(define-key elm-mode-map (kbd "TAB") #'company-indent-or-complete-common) (define-key elm-mode-map (kbd "M-<tab>") #'company-indent-or-complete-common)
;; Turn on Elm mode with *.elm files. ;; Turn on Elm mode with *.elm files.
(add-to-list 'auto-mode-alist '("\\.elm\\'" . elm-mode)) (add-to-list 'auto-mode-alist '("\\.elm\\'" . elm-mode))