summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.el b/init.el
index 3e5f7c0..dc9dedf 100644
--- a/init.el
+++ b/init.el
@@ -154,6 +154,10 @@
'((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")))
+;; PHP
+(add-to-list 'auto-mode-alist '("\\.php\\'" . php-ts-mode))
+(add-to-list 'auto-mode-alist '("\\.blade\\.php\\'" . web-mode))
+
;; Nix
(use-package nix-ts-mode
:mode "\\.nix\\'")