Skip to content

Commit

Permalink
* lisp/init-js.el: add kite-mini mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
yyr committed Dec 23, 2020
1 parent 91fda83 commit 3edddad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lisp/init-js.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
'(js2-mode
js2-refactor
xref-js2
company-tern))
company-tern
websocket
kite-mini))

(add-to-list 'auto-mode-alist '("\\.\\(js\\|jsx\\)$" . js2-mode))
(add-hook 'js2-mode-hook #'js2-refactor-mode)
Expand All @@ -24,7 +26,8 @@
(add-hook 'xref-backend-functions
#'xref-js2-xref-backend nil t)
(add-to-list 'company-backends 'company-tern)
(tern-mode)))
(tern-mode 1)
(kite-mini-mode 1)))

;; Disable completion keybindings, as we use xref-js2 instead
(add-hook 'tern-mode-hook (lambda ()
Expand Down

0 comments on commit 3edddad

Please sign in to comment.