From 4431382d4e74848f176722ccb2556d99610bca0a Mon Sep 17 00:00:00 2001 From: LLoyderino Date: Thu, 10 Jul 2025 14:47:07 +0200 Subject: Added PHP treesitter syntaxes Currently I am managing manually treesitter grammars but I should definitely change this... --- init.el | 5 +++++ 1 file changed, 5 insertions(+) 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") -- cgit v1.3.1