Skip to content

Commit

Permalink
Merge pull request #59 from emacs-php/fix/issue-58
Browse files Browse the repository at this point in the history
Fixed error in autoloads loading
  • Loading branch information
zonuexe authored Jan 30, 2024
2 parents 55d331c + b6adf02 commit d47ae4d
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 d47ae4d

Please sign in to comment.