aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-07-30 10:59:10 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-08-05 16:15:00 +0200
commit12dd1a4838857c2de4fffe4dfed37692ce12e864 (patch)
treea8c70960328f206bb68755c594e6d37de8a8f59b /gnu
parent16fdde79ec8efd0fc324b8d6a52433be6b710811 (diff)
downloadpatches-12dd1a4838857c2de4fffe4dfed37692ce12e864.tar
patches-12dd1a4838857c2de4fffe4dfed37692ce12e864.tar.gz
gnu: Add emacs-company-math.
* gnu/packages/emacs-xyz.scm (emacs-company-math): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e9acca770f..d51bd7ae87 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3411,6 +3411,32 @@ completion candidate when using the Company text completion framework.")
@code{company-math}.")
(license license:gpl3+))))
+(define-public emacs-company-math
+ (let ((commit "600e49449644f6835f9dc3501bc58461999e8ab9")
+ (revision "1"))
+ (package
+ (name "emacs-company-math")
+ (version (git-version "1.3" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vspinu/company-math.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1ps2lpkzn8mjbpcbvvy1qz3xbgrh6951x8y9bsd1fm32drdph9lh"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-math-symbol-lists" ,emacs-math-symbol-lists)
+ ("emacs-company" ,emacs-company)))
+ (home-page "https://github.com/vspinu/company-math")
+ (synopsis "Completion backends for Unicode math symbols and @code{LaTeX} tags")
+ (description "This package provides a backend for use with
+@code{company-mode} allowing for completion of common math symbols.")
+ (license license:gpl3+))))
+
(define-public emacs-multiple-cursors
(package
(name "emacs-multiple-cursors")