diff options
| author | LLoyderino <adrijan.bjedov@gmail.com> | 2025-09-13 13:46:17 +0200 |
|---|---|---|
| committer | LLoyderino <adrijan.bjedov@gmail.com> | 2025-09-13 13:46:17 +0200 |
| commit | 731f42ac4c862e939af8f8b5ab345b3a44f36956 (patch) | |
| tree | 3cf233cee40b9744821972c56e6946e003f0566f /init.el | |
| parent | d838d78121565f22788b2ddbeaa635afaae4a0eb (diff) | |
Automatically associate correct modes for PHP and Blade
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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\\'") |
