From 4f78ee33bfc828707a79cd79d296bf4a9c25b5b9 Mon Sep 17 00:00:00 2001 From: benj Date: Sat, 11 Nov 2023 09:03:04 -0800 Subject: add treesitter and remove some breaking haskell formatters --- settings/setup-treesitter.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 settings/setup-treesitter.el (limited to 'settings/setup-treesitter.el') 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 -- cgit v1.2.3