summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-07-10 14:47:07 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2025-07-10 14:47:47 +0200
commit4431382d4e74848f176722ccb2556d99610bca0a (patch)
treeb39cf6269eebffda3ca684b01a3490b2bdfb3a6f
parente8ef237d361cd02de81fd85317ed57c1968e986a (diff)
Added PHP treesitter syntaxes
Currently I am managing manually treesitter grammars but I should definitely change this...
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index db67661..4c2aadb 100644
--- a/init.el
+++ b/init.el
@@ -135,6 +135,11 @@
("s-p" . projectile-command-map)
("C-c p" . projectile-command-map)))
+;; 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")))
+
;; LSP configuration with Eglot for minimalismâ„¢
(use-package eglot-booster
:vc (:url "https://github.com/jdtsmith/eglot-booster")