From e079cd6c66edf989427d6dc754c5ecc864907a34 Mon Sep 17 00:00:00 2001 From: LLoyderino Date: Wed, 24 Sep 2025 15:31:59 +0200 Subject: Recognize Laravel's `artisan` as a PHP file --- init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/init.el b/init.el index ee81b7f..3f6fc96 100644 --- a/init.el +++ b/init.el @@ -189,6 +189,7 @@ ;; PHP (add-to-list 'auto-mode-alist '("\\.php\\'" . php-ts-mode)) +(add-to-list 'auto-mode-alist '("^artisan$" . php-ts-mode)) (add-to-list 'auto-mode-alist '("\\.blade\\.php\\'" . web-mode)) ;; Nix -- cgit v1.3.1