From 7e98b8833c7c2235550628d5753aa728dc9a0277 Mon Sep 17 00:00:00 2001 From: cashmere Date: Sun, 9 Nov 2025 17:03:35 +0100 Subject: remove treesit-auto and f package --- config.el | 36 ++++++++++++------------------------ config.org | 46 ++++++++++++++-------------------------------- 2 files changed, 26 insertions(+), 56 deletions(-) diff --git a/config.el b/config.el index f237839..590faa6 100644 --- a/config.el +++ b/config.el @@ -838,15 +838,17 @@ Works on the base filename (without extension), e.g. matches \"-task\", \":task: :init (setq markdown-command "multimarkdown")) ;; Set the Markdown processing command. -(use-package treesit-auto - :ensure t - :straight t - :after emacs - :custom - (treesit-auto-install 'prompt) - :config - (treesit-auto-add-to-auto-mode-alist 'all) - (global-treesit-auto-mode t)) +;; (use-package treesit-auto +;; :ensure t +;; :straight t +;; :defer t +;; :custom +;; (treesit-auto-install 'prompt) +;; :init +;; (delete 'org treesit-auto-langs) +;; :config +;; (treesit-auto-add-to-auto-mode-alist 'all) +;; (global-treesit-auto-mode t)) (use-package embark :ensure t @@ -912,9 +914,6 @@ completion-category-overrides '((file (styles partial-completion))))) ;; Customi (add-to-list 'eglot-server-programs typst-ts-mode . ,(eglot-alternatives '("tinymist"))))) -(use-package f - :ensure t) - (use-package yasnippet :ensure t :config @@ -924,17 +923,6 @@ completion-category-overrides '((file (styles partial-completion))))) ;; Customi :ensure t :after yasnippet) -;; (straight-use-package -;; `(lspce :type git :host github :repo "zbelial/lspce" -;; :files (:defaults ,(pcase system-type -;; ('gnu/linux "lspce-module.so") -;; ('darwin "lspce-module.dylib"))) -;; :pre-build ,(pcase system-type -;; ('gnu/linux '(("cargo" "build" "--release") -;; ("cp" "./target/release/liblspce_module.so" "./lspce-module.so"))) -;; ('darwin '(("cargo" "build" "--release") -;; ("cp" "./target/release/liblspce_module.dylib" "./lspce-module.dylib")))))) - (use-package company :straight t :hook (after-init . global-company-mode) @@ -1614,7 +1602,7 @@ completion-category-overrides '((file (styles partial-completion))))) ;; Customi :repo "https://gitlab.com/magus/modus-catppuccin" :branch "main") :config - (load-theme 'catppuccin-mocha :no-confirm)) + (load-theme 'catppuccin-frappe :no-confirm)) ;; (use-package modus-themes ;; :ensure nil diff --git a/config.org b/config.org index f06bfd3..ca9b9a6 100644 --- a/config.org +++ b/config.org @@ -1098,15 +1098,17 @@ Some goodies for better integration with org files. ensures that every available tree sitter is downloaded and set up for you. #+begin_src emacs-lisp -(use-package treesit-auto - :ensure t - :straight t - :after emacs - :custom - (treesit-auto-install 'prompt) - :config - (treesit-auto-add-to-auto-mode-alist 'all) - (global-treesit-auto-mode t)) +;; (use-package treesit-auto +;; :ensure t +;; :straight t +;; :defer t +;; :custom +;; (treesit-auto-install 'prompt) +;; :init +;; (delete 'org treesit-auto-langs) +;; :config +;; (treesit-auto-add-to-auto-mode-alist 'all) +;; (global-treesit-auto-mode t)) #+end_src * embark @@ -1206,14 +1208,9 @@ completion-category-overrides '((file (styles partial-completion))))) ;; Customi typst-ts-mode . ,(eglot-alternatives '("tinymist"))))) #+end_src -** lspce - -*** prerequisites +** yasnippet #+begin_src emacs-lisp -(use-package f - :ensure t) - (use-package yasnippet :ensure t :config @@ -1224,22 +1221,7 @@ completion-category-overrides '((file (styles partial-completion))))) ;; Customi :after yasnippet) #+end_src -*** initial installation - -#+begin_src emacs-lisp -;; (straight-use-package -;; `(lspce :type git :host github :repo "zbelial/lspce" -;; :files (:defaults ,(pcase system-type -;; ('gnu/linux "lspce-module.so") -;; ('darwin "lspce-module.dylib"))) -;; :pre-build ,(pcase system-type -;; ('gnu/linux '(("cargo" "build" "--release") -;; ("cp" "./target/release/liblspce_module.so" "./lspce-module.so"))) -;; ('darwin '(("cargo" "build" "--release") -;; ("cp" "./target/release/liblspce_module.dylib" "./lspce-module.dylib")))))) -#+end_src - -*** company +** company company is also required as an completion backend. besides that i really enjoy using company. @@ -2085,7 +2067,7 @@ ily <3. :repo "https://gitlab.com/magus/modus-catppuccin" :branch "main") :config - (load-theme 'catppuccin-mocha :no-confirm)) + (load-theme 'catppuccin-frappe :no-confirm)) #+end_src ** modus themes/catppuccin -- cgit v1.3.1