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 | |
parent | 7b1b023f4a7894e8df5aae1c1f76c1d88c0f198a (diff) | |
download | nixfiles-e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e.tar.lz nixfiles-e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e.tar.zst nixfiles-e2a148c254461ec05ae90ef2a4efa1f7c0b22d6e.zip |
emacs: remove unused major modes: rustic, scss, js2, rjsx
-rw-r--r-- | user/emacs/init.el | 13 | ||||
-rw-r--r-- | user/settings/development/javascript.nix | 3 | ||||
-rw-r--r-- | user/settings/development/rust.nix | 3 | ||||
-rw-r--r-- | user/settings/development/web.nix | 1 |
4 files changed, 1 insertions, 19 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 diff --git a/user/settings/development/javascript.nix b/user/settings/development/javascript.nix index bea1f02c..428d7b64 100644 --- a/user/settings/development/javascript.nix +++ b/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 ]); diff --git a/user/settings/development/rust.nix b/user/settings/development/rust.nix index 46f3f4f1..c1b1a9df 100644 --- a/user/settings/development/rust.nix +++ b/user/settings/development/rust.nix @@ -10,7 +10,4 @@ rust-analyzer clippy ]; - programs.emacs.extraPackages = epkgs: (with epkgs; [ - rustic - ]); } diff --git a/user/settings/development/web.nix b/user/settings/development/web.nix index 7570cadb..272b874d 100644 --- a/user/settings/development/web.nix +++ b/user/settings/development/web.nix @@ -22,7 +22,6 @@ emmet-mode nginx-mode restclient - scss-mode web-mode ]); programs.neovim.plugins = with pkgs.vimPlugins; [ |