diff options
Diffstat (limited to 'lisp/progmodes/php-ts-mode.el')
| -rw-r--r-- | lisp/progmodes/php-ts-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el index 3c9cb2ba8d0..65a177e6cc8 100644 --- a/lisp/progmodes/php-ts-mode.el +++ b/lisp/progmodes/php-ts-mode.el | |||
| @@ -81,7 +81,10 @@ | |||
| 81 | ;;; Install treesitter language parsers | 81 | ;;; Install treesitter language parsers |
| 82 | (defvar php-ts-mode--language-source-alist | 82 | (defvar php-ts-mode--language-source-alist |
| 83 | '((php "https://github.com/tree-sitter/tree-sitter-php" | 83 | '((php "https://github.com/tree-sitter/tree-sitter-php" |
| 84 | :commit "5b5627faaa290d89eb3d01b9bf47c3bb9e797dea" | 84 | :commit ,(if (and (treesit-available-p) |
| 85 | (< (treesit-library-abi-version) 15)) | ||
| 86 | "f7cf7348737d8cff1b13407a0bfedce02ee7b046" | ||
| 87 | "5b5627faaa290d89eb3d01b9bf47c3bb9e797dea") | ||
| 85 | :source-dir "php/src") | 88 | :source-dir "php/src") |
| 86 | (phpdoc "https://github.com/claytonrcarter/tree-sitter-phpdoc" | 89 | (phpdoc "https://github.com/claytonrcarter/tree-sitter-phpdoc" |
| 87 | :commit "03bb10330704b0b371b044e937d5cc7cd40b4999")) | 90 | :commit "03bb10330704b0b371b044e937d5cc7cd40b4999")) |