emacs: remove unused major modes: rustic, scss, js2, rjsx
Alan Pearce alan@alanpearce.eu
Sun, 28 Apr 2024 09:13:44 +0200
4 files changed, 1 insertions(+), 19 deletions(-)
M user/emacs/init.el → user/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
M user/settings/development/javascript.nix → user/settings/development/javascript.nix
@@ -35,9 +35,6 @@ }; programs.emacs.extraPackages = epkgs: (with epkgs; [ add-node-modules-path - js2-mode - rjsx-mode - tide typescript-mode ]);
M user/settings/development/rust.nix → user/settings/development/rust.nix
@@ -10,7 +10,4 @@ rustfmt rust-analyzer clippy ]; - programs.emacs.extraPackages = epkgs: (with epkgs; [ - rustic - ]); }
M user/settings/development/web.nix → user/settings/development/web.nix
@@ -22,7 +22,6 @@ company-web emmet-mode nginx-mode restclient - scss-mode web-mode ]); programs.neovim.plugins = with pkgs.vimPlugins; [