chore(tazjin/emacs): remove unused or duplicated packages

Some of these I don't use, some of these have been replaced with
tree-sitter, some of these have moved into core.

Change-Id: Id0a8aac4189607a89db861bbc09b95c75c45dc0f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9310
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2023-09-12 18:56:57 +03:00 committed by clbot
parent b479725181
commit cec2baa6ca
3 changed files with 5 additions and 17 deletions

View file

@ -123,7 +123,7 @@
(cargo-process-mode . visual-line-mode)) (cargo-process-mode . visual-line-mode))
:bind (:map cargo-mode-map ("C-c C-c C-l" . ignore))) :bind (:map cargo-mode-map ("C-c C-c C-l" . ignore)))
(use-package dockerfile-mode) (use-package dockerfile-ts-mode)
(use-package erlang (use-package erlang
:hook ((erlang-mode . (lambda () :hook ((erlang-mode . (lambda ()
@ -154,8 +154,6 @@
:hook ((kotlin-mode . (lambda () :hook ((kotlin-mode . (lambda ()
(setq indent-line-function #'indent-relative))))) (setq indent-line-function #'indent-relative)))))
(use-package lsp-mode)
(use-package markdown-mode (use-package markdown-mode
:config :config
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
@ -187,7 +185,7 @@
:hook (telega-chat-mode . company-mode)) :hook (telega-chat-mode . company-mode))
(use-package terraform-mode) (use-package terraform-mode)
(use-package toml-mode) (use-package toml-ts-mode)
(use-package tvl) (use-package tvl)
@ -196,7 +194,7 @@
(vertico-mode)) (vertico-mode))
(use-package web-mode) (use-package web-mode)
(use-package yaml-mode) (use-package yaml-ts-mode)
(use-package zoxide) (use-package zoxide)
(use-package passively (use-package passively

View file

@ -49,7 +49,7 @@
(add-to-list 'auto-mode-alist '("\\.star\\'" . python-mode)) (add-to-list 'auto-mode-alist '("\\.star\\'" . python-mode))
;; Use cmake-mode for relevant files. ;; Use cmake-mode for relevant files.
(add-to-list 'auto-mode-alist '("ya\\.make\\'" . cmake-mode)) (add-to-list 'auto-mode-alist '("ya\\.make\\'" . cmake-ts-mode))
;; Use tree-sitter modes for various languages. ;; Use tree-sitter modes for various languages.
(setq major-mode-remap-alist (setq major-mode-remap-alist

View file

@ -25,6 +25,7 @@ pkgs.makeOverridable
tree-sitter-c tree-sitter-c
tree-sitter-cmake tree-sitter-cmake
tree-sitter-cpp tree-sitter-cpp
tree-sitter-dockerfile
tree-sitter-go tree-sitter-go
tree-sitter-java tree-sitter-java
tree-sitter-json tree-sitter-json
@ -44,18 +45,14 @@ pkgs.makeOverridable
browse-kill-ring browse-kill-ring
cargo cargo
clojure-mode clojure-mode
cmake-mode
company company
consult consult
d-mode
deft deft
direnv direnv
dockerfile-mode
elixir-mode elixir-mode
elm-mode elm-mode
erlang erlang
exwm exwm
flymake
go-mode go-mode
google-c-style google-c-style
gruber-darker-theme gruber-darker-theme
@ -67,11 +64,8 @@ pkgs.makeOverridable
jq-mode jq-mode
kotlin-mode kotlin-mode
kubernetes kubernetes
lsp-mode
magit magit
markdown-toc markdown-toc
meson-mode
multi-term
multiple-cursors multiple-cursors
nginx-mode nginx-mode
nix-mode nix-mode
@ -79,7 +73,6 @@ pkgs.makeOverridable
paredit paredit
password-store password-store
pinentry pinentry
polymode
prescient prescient
protobuf-mode protobuf-mode
rainbow-delimiters rainbow-delimiters
@ -91,9 +84,7 @@ pkgs.makeOverridable
string-edit-at-point string-edit-at-point
telephone-line telephone-line
terraform-mode terraform-mode
toml-mode
undo-tree undo-tree
use-package
uuidgen uuidgen
vertico vertico
vterm vterm
@ -101,7 +92,6 @@ pkgs.makeOverridable
websocket websocket
which-key which-key
xelb xelb
yaml-mode
yasnippet yasnippet
zetteldeft zetteldeft
zoxide zoxide