diff options
author | Alan Pearce | 2024-04-28 09:13:44 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-28 09:13:44 +0200 |
commit | e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e (patch) | |
tree | 3a00e335b13d73c7a894b1da6d23e437cf23e4cb /user/emacs | |
parent | 7b1b023f4a7894e8df5aae1c1f76c1d88c0f198a (diff) | |
download | nixfiles-e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e.tar.lz nixfiles-e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e.tar.zst nixfiles-e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e.zip |
emacs: remove unused major modes: rustic, scss, js2, rjsx
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 4e9d982b..5282a0a4 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -763,16 +763,6 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve (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 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve 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 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve (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 |