Add treesitter and Ruby

This commit is contained in:
Maciej 2023-01-27 14:10:49 +02:00
parent 0191a7ebd9
commit 2dd1affaf0
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
3 changed files with 9 additions and 3 deletions

View file

@ -86,6 +86,12 @@
;; 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)
(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)