Replace icejam/ with icejam- and icejam-lang/ with icejam- namespacing
All checks were successful
/ Test config on 20 (push) Successful in 27s

This commit is contained in:
Maciej 2024-10-22 12:47:06 +03:00
parent 70418a27c3
commit 42e9ee7862
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
31 changed files with 144 additions and 140 deletions

View file

@ -20,9 +20,9 @@
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
(add-to-list 'auto-mode-alist '("\\.json\\'" . js2-mode))
(defun icejam/activate-js2-mode ()
(defun icejam-activate-js2-mode ()
"JS2 mode overrides."
(icejam/set-indent 2)
(icejam-set-indent 2)
(when (not (string-match-p ".json" (buffer-file-name)))
(lsp-deferred))
@ -41,7 +41,7 @@
(add-to-list (make-local-variable 'company-backends)
'(company-capf company-yasnippet)))
(add-hook 'js2-mode-hook 'icejam/activate-js2-mode)
(add-hook 'js2-mode-hook 'icejam-activate-js2-mode)
(provide 'icejam-lang-javascript)
;;; icejam-lang-javascript.el ends here