summaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/setup-treesitter.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/settings/setup-treesitter.el b/settings/setup-treesitter.el
new file mode 100644
index 0000000..3c97e26
--- /dev/null
+++ b/settings/setup-treesitter.el
@@ -0,0 +1,15 @@
+(setq treesit-language-source-alist
+ '((astro "https://github.com/virchau13/tree-sitter-astro")
+ (bash "https://github.com/tree-sitter/tree-sitter-bash")
+ (c "https://github.com/tree-sitter/tree-sitter-c")
+ (css "https://github.com/tree-sitter/tree-sitter-css")
+ (html "https://github.com/tree-sitter/tree-sitter-html")
+ (json "https://github.com/tree-sitter/tree-sitter-json")
+ (make "https://github.com/alemuller/tree-sitter-make")
+ (python "https://github.com/tree-sitter/tree-sitter-python")
+ (rust "https://github.com/tree-sitter/tree-sitter-rust")
+ (tsx "https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src")
+ (typescript "https://github.com/tree-sitter/tree-sitter-typescript" "master" "typescript/src")))
+
+(provide 'setup-treesitter)
+;;; setup-treesitter.el ends here