aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2025-01-21 14:37:45 -0800
committerGravatar Tom Willemse2025-01-21 14:37:45 -0800
commit0585d55981f32ee79058c37e2f3daf1971fc0bda (patch)
tree64b07cce6c56edd28cb1168ad5c912024aa8eedf
parent109c5ec9392f2f42003880ccb0e62e1c530d7bef (diff)
downloadnew-dotfiles-0585d55981f32ee79058c37e2f3daf1971fc0bda.tar.gz
new-dotfiles-0585d55981f32ee79058c37e2f3daf1971fc0bda.zip
Add emacs-php-ts-mode package
-rw-r--r--oni/packages/emacs.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm
index d2d6028..3d0e3be 100644
--- a/oni/packages/emacs.scm
+++ b/oni/packages/emacs.scm
@@ -11,6 +11,8 @@
#:use-module ((gnu packages mail)
#:select (notmuch))
#:use-module (gnu packages ruby)
+ #:use-module ((gnu packages tree-sitter)
+ #:select (tree-sitter-php))
#:use-module (rosenthal packages tree-sitter))
(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.")
(description "Add TODO, FIXME, etc highlighting in comments and strings.")
(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))))