lang/javascript: start tide/lsp later
Gives direnv and other mode hooks a chance to set up the environment first.
This commit is contained in:
parent
fe8dd63f22
commit
28ec59cd20
1 changed files with 3 additions and 1 deletions
|
@ -133,7 +133,9 @@
|
|||
;;
|
||||
;;; Tools
|
||||
|
||||
(add-hook! '(js-mode-hook typescript-mode-hook web-mode-hook)
|
||||
(add-hook! '(js2-mode-local-vars-hook
|
||||
typescript-mode-local-vars-hook
|
||||
web-mode-local-vars-hook)
|
||||
(defun +javascript-init-lsp-or-tide-maybe-h ()
|
||||
"Start `lsp' or `tide' in the current buffer.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue