mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-12 07:10:51 -05:00
Replace tree-sitter with treesit-auto for emacs 29+
This commit is contained in:
parent
f55d6970db
commit
fb8a86f052
1 changed files with 11 additions and 5 deletions
|
@ -605,12 +605,18 @@
|
|||
:after zig-mode)
|
||||
|
||||
;; Syntax parsing/highlighting (use native tree-sitter on emacs 29+)
|
||||
(use-package tree-sitter
|
||||
:config
|
||||
(global-tree-sitter-mode)
|
||||
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
||||
;; (use-package tree-sitter
|
||||
;; :config
|
||||
;; (global-tree-sitter-mode)
|
||||
;; (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
|
||||
|
||||
(use-package tree-sitter-langs)
|
||||
;; (use-package tree-sitter-langs)
|
||||
|
||||
;; emacs 29+
|
||||
(use-package treesit-auto
|
||||
:config
|
||||
(setq treesit-auto-install 'prompt)
|
||||
(global-treesit-auto-mode))
|
||||
|
||||
;; C/C++
|
||||
(setq dap-lldb-debug-program '("/usr/bin/lldb-vscode"))
|
||||
|
|
Loading…
Reference in a new issue