Fix for annoying multiline issue in zig-mode
This commit is contained in:
parent
2f9a3f2329
commit
83fb6be873
1 changed files with 41 additions and 0 deletions
41
artoria/packages/emacs-xyz.scm
Normal file
41
artoria/packages/emacs-xyz.scm
Normal file
|
@ -0,0 +1,41 @@
|
|||
(define-module (artoria packages emacs-xyz)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system emacs)
|
||||
#:use-module (gnu packages emacs)
|
||||
#:use-module (gnu packages emacs-xyz)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module ((guix licenses) #:prefix license:))
|
||||
|
||||
|
||||
(define-public emacs-zig-mode
|
||||
(let ((commit "f55e42536a3f34b81198b856595dc3a61867aa3e")
|
||||
(revision "0"))
|
||||
(package
|
||||
(name "emacs-zig-mode")
|
||||
(version (git-version "0.0.8" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/ziglang/zig-mode")
|
||||
(commit commit)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1s0p6dijg2zdzhw2mpyajwnsx6g28swgzpy63g8yn72718rq31kn"))))
|
||||
(build-system emacs-build-system)
|
||||
(inputs (list emacs-reformatter))
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #t
|
||||
#:emacs emacs
|
||||
#:test-command #~(list "emacs" "--batch"
|
||||
"-l" "zig-mode.el"
|
||||
"-f" "ert-run-tests-batch-and-exit")))
|
||||
(home-page "https://github.com/ziglang/zig-mode/")
|
||||
(synopsis "Zig mode for Emacs")
|
||||
(description
|
||||
"This package provides syntax highlighting and automatic indentation
|
||||
for the Zig programming language in Emacs.")
|
||||
(license license:gpl3+))))
|
||||
|
Loading…
Reference in a new issue