summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-09-24 11:40:04 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2025-09-24 11:40:04 +0200
commit0e83b6d8bf24ac59f16ddd69d12ac4e08571cd25 (patch)
treeec882e52dc254a5a533e4f5d0a1acbe33e8d6575 /init.el
parent9ab623d1c78a3e888a8a7d4bdf99d758973865f3 (diff)
Lots of new changes:
- Made .gitignore allow by default (rather than manually specifying what I want) - Dropped pre-built (non-versioned) TS grammars and use built-in ones - Upload custom snippets (lol 1)
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el
index 9dc4acc..e63e42d 100644
--- a/init.el
+++ b/init.el
@@ -150,8 +150,10 @@
;; Treesitter grammars
(setq treesit-language-source-alist
- '((php "https://github.com/tree-sitter/tree-sitter-php" "v0.23.12" "php/src")
- (phpdoc "https://github.com/claytonrcarter/tree-sitter-phpdoc" "v0.1.6")))
+ '((java "https://github.com/tree-sitter/tree-sitter-java" "v0.23.5")
+ (php "https://github.com/tree-sitter/tree-sitter-php" "v0.23.12" "php/src")
+ (phpdoc "https://github.com/claytonrcarter/tree-sitter-phpdoc" "v0.1.6")
+ (nix "https://github.com/nix-community/tree-sitter-nix" "v0.3.0")))
;; PHP
(add-to-list 'auto-mode-alist '("\\.php\\'" . php-ts-mode))