Move treesitter configuration to its own file
Some checks failed
/ Test config on 20 (push) Has been cancelled
Some checks failed
/ Test config on 20 (push) Has been cancelled
This commit is contained in:
parent
ff2dbc1796
commit
eb71b1226f
5 changed files with 39 additions and 13 deletions
|
|
@ -79,15 +79,6 @@
|
|||
|
||||
;; Numbers are arbitrary, but work on a large screen. Default is 160
|
||||
(setq split-width-threshold 180)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;; Tree sitter ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
(use-package tree-sitter :straight t)
|
||||
(use-package tree-sitter-langs :straight t :requires (tree-sitter))
|
||||
(use-package tree-sitter-indent :straight t)
|
||||
|
||||
(global-tree-sitter-mode)
|
||||
(add-hook 'tree-sitter-after-on-hook 'tree-sitter-hl-mode)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;; Shell stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue