diff options
| author | Juri Linkov | 2025-05-04 20:50:40 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-05-04 20:50:40 +0300 |
| commit | 815dea7b59392d83ca8f9e98d1569484aea605ad (patch) | |
| tree | 9362abf2512ac388c739a90ac3df0292fa816de3 /lib/diffseq.h | |
| parent | 9e75d1815125178b4b8584faa02569d6b84fc0b5 (diff) | |
| download | emacs-815dea7b59392d83ca8f9e98d1569484aea605ad.tar.gz emacs-815dea7b59392d83ca8f9e98d1569484aea605ad.zip | |
Avoid duplication in defining tree-sitter grammar sources.
* lisp/progmodes/php-ts-mode.el: Require 'html-ts-mode'.
(php-ts-mode--language-source-alist): Remove duplicate source info
for html, css, javascript, jsdoc.
(php-ts-mode-install-parsers): Install pre-defined grammars.
(php-ts-mode): Move 'require' to the top.
* lisp/textmodes/mhtml-ts-mode.el
(mhtml-ts-mode--language-source-alist): Remove variable
since 'treesit-language-source-alist' is pre-filled by
requiring 'html-ts-mode', 'css-mode', 'js'.
(mhtml-ts-mode-install-parsers): Install pre-defined grammars.
* test/infra/Dockerfile.emba: Remove 'mhtml-ts-mode'
that doesn't define own grammars.
Diffstat (limited to 'lib/diffseq.h')
0 files changed, 0 insertions, 0 deletions