Add emacs-php-ts-mode package

This commit is contained in:
Tom Willemse 2025-01-21 14:37:45 -08:00
parent 109c5ec939
commit 0585d55981

View file

@ -11,6 +11,8 @@
#:use-module ((gnu packages mail) #:use-module ((gnu packages mail)
#:select (notmuch)) #:select (notmuch))
#:use-module (gnu packages ruby) #:use-module (gnu packages ruby)
#:use-module ((gnu packages tree-sitter)
#:select (tree-sitter-php))
#:use-module (rosenthal packages tree-sitter)) #:use-module (rosenthal packages tree-sitter))
(define-public emacs-ace-link-notmuch (define-public emacs-ace-link-notmuch
@ -663,3 +665,26 @@ new-theme for a while. I couldn't think of a name so I named it after him.")
(synopsis "Add TODO, FIXME, etc highlighting in comments and strings.") (synopsis "Add TODO, FIXME, etc highlighting in comments and strings.")
(description "Add TODO, FIXME, etc highlighting in comments and strings.") (description "Add TODO, FIXME, etc highlighting in comments and strings.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-php-ts-mode
(let ((commit "4e266dc4462b836b90437dc7a4d3c8f4dac89c4a")
(revision "0"))
(package
(name "emacs-php-ts-mode")
(version (git-version "0.0.0" revision commit))
(source
(origin
(uri (git-reference
(url "https://github.com/emacs-php/php-ts-mode")
(commit commit)))
(method git-fetch)
(file-name (git-file-name name version))
(sha256
(base32 "1w96db9mljp67a1jjqxaw30xa2iyr94f9981q52byd42wqislhja"))))
(propagated-inputs
(list tree-sitter-php))
(build-system emacs-build-system)
(home-page "https://github.com/emacs-php/ts-php-mode")
(synopsis "A Tree-sitter based major mode for editing PHP codes")
(description "A Tree-sitter based major mode for editing PHP codes.")
(license license:gpl3))))