Config: optimize exwm config.

This commit is contained in:
2026-04-25 07:14:09 +08:00
parent bc6eca261a
commit c6cf0ef9d8
9 changed files with 145 additions and 31 deletions

View File

@@ -107,14 +107,6 @@
(advice-add 'eglot-completion-at-point :around #'cape-wrap-nonexclusive)
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-nonexclusive))
;; lua
(use-package lua-ts-mode
:mode ("\\.lua\\'" . lua-ts-mode)
:config
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-ts-mode)))
(use-package ahk-mode)
;; tree-sitter
(use-package treesit-auto
:demand t
@@ -123,6 +115,16 @@
(global-treesit-auto-mode)
(setq treesit-font-lock-level 4))
;; lua
(use-package lua-ts-mode
:mode ("\\.lua\\'" . lua-ts-mode)
:config
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-ts-mode)))
;; ahk
(use-package ahk-mode)
;; scheme
(use-package geiser
:config
(with-eval-after-load 'geiser