Config: install popper , es-window and ace-pinyin-jump-char , keybinding optimize.
This commit is contained in:
@@ -53,4 +53,18 @@
|
||||
(setq-local completion-at-point-functions
|
||||
(list (cape-capf-super #'cape-dabbrev)))) ;; 启用dabbrev
|
||||
|
||||
;; lua
|
||||
(use-package lua-ts-mode
|
||||
:mode ("\\.lua\\'" . lua-ts-mode)
|
||||
:config
|
||||
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-ts-mode)))
|
||||
|
||||
;; tree-sitter
|
||||
(use-package treesit-auto
|
||||
:demand t
|
||||
:config
|
||||
(setq treesit-auto-install 'prompt)
|
||||
(global-treesit-auto-mode)
|
||||
(setq treesit-font-lock-level 4))
|
||||
|
||||
(provide 'init-completion)
|
||||
|
||||
Reference in New Issue
Block a user