Add nginx-mode for Emacs

This commit is contained in:
Tom Willemse 2024-04-04 22:02:39 -07:00
parent 0b61b8cf0c
commit 7499cb2305
2 changed files with 48 additions and 24 deletions

View file

@ -143,7 +143,8 @@
#:select (emacs-inkplate #:select (emacs-inkplate
oni-emacs-company oni-emacs-company
emacs-outli emacs-outli
emacs-syncthing-status)) emacs-syncthing-status
emacs-nginx-mode))
#:use-module ((oni packages emacs-config) #:use-module ((oni packages emacs-config)
#:select (emacs-oni-org-roam #:select (emacs-oni-org-roam
emacs-oni-elfeed emacs-oni-elfeed
@ -322,6 +323,7 @@
emacs-oni-tramp emacs-oni-tramp
emacs-oni-yaml emacs-oni-yaml
(with-my-emacs-company-package emacs-oni-python) (with-my-emacs-company-package emacs-oni-python)
emacs-nginx-mode
tree-sitter-bash tree-sitter-bash
tree-sitter-scheme tree-sitter-scheme

View file

@ -423,6 +423,28 @@ text.")
with character preview in completion prompt.") with character preview in completion prompt.")
(license license:gpl3+)))) (license license:gpl3+))))
(define-public emacs-nginx-mode
(let ((commit "de0519941ee235dcd1587f6aab68152285e1aaaa")
(revision "0"))
(package
(name "emacs-nginx-mode")
(version (git-version "1.1.9" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "git://ryuslash.org/nginx-mode.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1nqyz2mkhvm8ixgxla93nfmxqn0qs8vx7ma598kmyp292b3k9whr"))))
(build-system emacs-build-system)
(home-page "https://github.com/ajc/nginx-mode")
(synopsis "Emacs major mode for editing nginx config files")
(description "This package provides an Emacs major mode for
editing nginx config files.")
(license license:gpl2+))))
(define-public emacs-nroam (define-public emacs-nroam
(package (package
(name "emacs-nroam") (name "emacs-nroam")