Skip to content

Commit

Permalink
Fixed error in autoloads loading
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Jan 30, 2024
1 parent 55d331c commit b6adf02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions php-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,9 @@ Currently there are `php-mode' and `php-ts-mode'."
(add-to-list 'auto-mode-alist '("\\.php[s345]?\\'" . php-ts-mode)))

;;;###autoload
(add-to-list 'treesit-language-source-alist
'(php "https://github.com/tree-sitter/tree-sitter-php" "master" "php/src"))
(with-eval-after-load 'treesit
(add-to-list 'treesit-language-source-alist
'(php "https://github.com/tree-sitter/tree-sitter-php" "master" "php/src")))

(provide 'php-ts-mode)
;;; php-ts-mode.el ends here

0 comments on commit b6adf02

Please sign in to comment.