all repos — nixfiles @ e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e

System and user configuration, managed by nix and home-manager

emacs: remove unused major modes: rustic, scss, js2, rjsx

Alan Pearce
commit

e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e

parent

7b1b023f4a7894e8df5aae1c1f76c1d88c0f198a

1 file changed, 1 insertion(+), 12 deletions(-)

changed files
M user/emacs/init.eluser/emacs/init.el
@@ -763,16 +763,6 @@ :config (progn
(add-to-list 'eglot-server-programs '(nim-mode "nimlsp")))) -;;;; rust -(use-package rustic - :mode (("\\.rs\\'" . rustic-mode)) - :if (package-installed-p 'rustic) - :config (progn - (setq rustic-format-on-save t) - (with-eval-after-load 'flycheck - (add-to-list 'flycheck-checkers 'rustic-clippy)))) -(add-to-list 'major-mode-remap-alist '(rust-mode . rust-ts-mode)) - ;;;; js (setq js-indent-level 2 js-enabled-frameworks '(javascript))
@@ -1064,7 +1054,6 @@ css-ts-mode-hook
go-ts-mode-hook lua-mode-hook nim-mode-hook - scss-mode-hook html-mode-hook nix-mode-hook haskell-mode-hook)
@@ -1099,7 +1088,7 @@ ;; the project. This will allows emacs to find their executables.
(use-package add-node-modules-path :config (setq add-node-modules-max-depth 6) - :ghook ('(feature-mode-hook js2-mode-hook json-ts-mode-hook typescript-ts-mode-hook) #'add-node-modules-path)) + :ghook ('(feature-mode-hook json-ts-mode-hook typescript-ts-mode-hook) #'add-node-modules-path)) ;;;; Reformat on save