Add formatter and some other stuff

This commit is contained in:
Maciej 2023-10-17 15:05:40 +03:00
parent 781b4c3095
commit 697984199a
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
11 changed files with 146 additions and 99 deletions

View file

@ -10,9 +10,9 @@
:requires (web-mode company-web lsp-mode lsp-ui)
:straight t)
(use-package vue-mode
:straight t
:defer t)
;; (use-package vue-mode
;; :straight t
;; :defer t)
;; Use js2-mode for javascript editing
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
@ -44,12 +44,5 @@
(add-hook 'js2-mode-hook 'activate-js2-mode)
(defun activate-vue-mode ()
"VueJS overrides."
(lsp-deferred)
(setq-local lsp-ui-show-code-actions f))
(add-hook 'vue-mode-hook 'activate-vue-mode)
(provide '+custom-lang-javascript)
;;; javascript.el ends here