From: Mathieu Lirzin <mthl@gnu.org>
To: 32097@debbugs.gnu.org
Cc: Mathieu Lirzin <mthl@gnu.org>
Subject: [bug#32097] [PATCH 2/3] gnu: Add emacs-typescript-mode.
Date: Sun, 8 Jul 2018 18:56:11 +0200 [thread overview]
Message-ID: <20180708165612.3011-2-mthl@gnu.org> (raw)
In-Reply-To: <20180708165612.3011-1-mthl@gnu.org>
* gnu/packges/emacs.scm (emacs-typescript-mode): New variable.
---
gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 97835d22e..8dcf1717c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4207,6 +4207,32 @@ features:
@end itemize")
(license license:gpl3+)))
+(define-public emacs-typescript-mode
+ (package
+ (name "emacs-typescript-mode")
+ (version "0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/ananthakumaran/typescript.el"
+ "/archive/v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1gqjirm8scf0wysm7x97zdfbs4qa5nqdl64jfbkd18iskv5mg3rj"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/ananthakumaran/typescript.el")
+ (synopsis "Emacs major mode for editing Typescript code")
+ (description
+ "This is based on Karl Landstrom's barebones @code{typescript-mode}.
+This is much more robust and works with @code{cc-mode}'s comment
+filling (mostly). The modifications to the original @code{javascript.el} mode
+mainly consisted in replacing \"javascript\" with \"typescript\"
+
+The main features of this Typescript mode are syntactic highlighting (enabled
+with @code{font-lock-mode} or @code{global-font-lock-mode}), automatic
+indentation and filling of comments and C preprocessor fontification.")
+ (license license:gpl3+)))
+
(define-public emacs-markdown-mode
(package
(name "emacs-markdown-mode")
--
2.18.0
next prev parent reply other threads:[~2018-07-08 16:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-08 16:54 [bug#32097] [PATCH 0/3] Add Node.js and Typescript emacs modes Mathieu Lirzin
2018-07-08 16:56 ` [bug#32097] [PATCH 1/3] gnu: Add emacs-nodejs-repl Mathieu Lirzin
2018-07-08 16:56 ` Mathieu Lirzin [this message]
2018-07-08 16:56 ` [bug#32097] [PATCH 3/3] gnu: Add emacs-tide Mathieu Lirzin
2018-07-09 15:00 ` bug#32097: [PATCH 0/3] Add Node.js and Typescript emacs modes Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180708165612.3011-2-mthl@gnu.org \
--to=mthl@gnu.org \
--cc=32097@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.