switch to emacs support of treesitter

This commit is contained in:
Tobias Ostner 2023-09-04 11:07:05 +02:00
parent e4ba0923e2
commit d7dd3b6ed1

View file

@ -251,6 +251,21 @@
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(setq treesit-language-source-alist
'((bash "https://github.com/tree-sitter/tree-sitter-bash")
(cmake "https://github.com/uyha/tree-sitter-cmake")
(css "https://github.com/tree-sitter/tree-sitter-css")
(elisp "https://github.com/Wilfred/tree-sitter-elisp")
(go "https://github.com/tree-sitter/tree-sitter-go")
(html "https://github.com/tree-sitter/tree-sitter-html")
(javascript "https://github.com/tree-sitter/tree-sitter-javascript" "master" "src")
(json "https://github.com/tree-sitter/tree-sitter-json")
(make "https://github.com/alemuller/tree-sitter-make")
(markdown "https://github.com/ikatyang/tree-sitter-markdown")
(python "https://github.com/tree-sitter/tree-sitter-python")
(toml "https://github.com/tree-sitter/tree-sitter-toml")
(yaml "https://github.com/ikatyang/tree-sitter-yaml")))
(require 'epg)
(setq epg-pinentry-mode 'loopback)
@ -372,7 +387,7 @@
modus-themes-common-palette-overrides '((fringe unspecified)
(border-mode-line-active unspecified)
(border-mode-line-inactive unspecified)))
(load-theme 'modus-vivendi-tinted :no-confirm))
(use-package moody
@ -505,7 +520,7 @@
(use-package super-save
:config
(super-save-mode))
(use-package swift-helpful
:commands swift-helpful)
@ -529,13 +544,6 @@
(use-package terraform-mode)
(use-package tree-sitter
:config
(global-tree-sitter-mode))
(use-package tree-sitter-langs
:after tree-sitter)
(use-package yaml-mode)
(use-package vertico