Autocomplete Elm with M-<tab>
This commit is contained in:
parent
1263e29b8b
commit
0342b99e1f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue