diff options
| author | 2025-04-16 22:24:46 -0700 | |
|---|---|---|
| committer | 2025-04-16 22:26:07 -0700 | |
| commit | e225234904dde6535db7f55d92e05a388786cf83 (patch) | |
| tree | bf5d182a6161a11d71c1ede5d52a2573e2a36616 | |
| parent | fb7f89ebe51189a293f2139d7fafd0a7dc743fbf (diff) | |
| download | new-dotfiles-e225234904dde6535db7f55d92e05a388786cf83.tar.gz new-dotfiles-e225234904dde6535db7f55d92e05a388786cf83.zip | |
Add phps-mode package
| -rw-r--r-- | oni/packages/emacs.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/oni/packages/emacs.scm b/oni/packages/emacs.scm index db77f37..dc6d0da 100644 --- a/oni/packages/emacs.scm +++ b/oni/packages/emacs.scm @@ -847,6 +847,31 @@ two APIs: - regular elisp accessors such as `indexed-olpath', `indexed-pos etc - an in-memory SQLite database that mimics the org-roam database.") (license #f))) +(define-public emacs-phps-mode + (package + (name "emacs-phps-mode") + (version "0.4.50") + (source + (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/phps-mode-" version + ".tar")) + (sha256 + (base32 "1dyxqkyik6cxmqnwmxlxd1v42jcnkh0hl1qqm65nhvmf3ksq59kh")))) + (build-system emacs-build-system) + (home-page "https://github.com/cjohansson/emacs-phps-mode") + (synopsis "Major mode for PHP with code intelligence") + (description + "This package provides a major-mode that uses the original PHP lex-analyzer and +parser for syntax coloring, bookkeeping, AST, imenu making it easier to spot +errors in syntax. Also includes full support for PSR-1 and PSR-2 indentation +and indentaton for HTML/XML contents. For flycheck support run +`(phps-mode-flycheck-setup)'. For asynchronous lexer set: `(setq +phps-mode-async-process t) For asynchronous lexer via `async.el instead of +threads set: `(setq phps-mode-async-process-using-async-el t) Please see +README.md from the same repository for extended documentation.") + (license license:gpl3+))) + (define-public my-emacs-org-roam (let ((commit "046822b512ffecdee7d110f73dd3a511802ca590") (revision "0")) |
