unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 43266@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#43266] [PATCH] gnu: Add emacs-gdscript-mode.
Date: Mon,  7 Sep 2020 17:22:17 -0300	[thread overview]
Message-ID: <20200907202217.13929-1-monego@posteo.net> (raw)

* gnu/packages/emacs-xyz.scm (emacs-gdscript-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 053ea57298..2b6f4eee65 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3208,6 +3208,43 @@ project.
 This package also includes relevant snippets for yasnippet.")
       (license license:expat))))
 
+(define-public emacs-gdscript-mode
+  (package
+    (name "emacs-gdscript-mode")
+    (version "1.2.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/godotengine/emacs-gdscript-mode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "02by4bvdayldbjlz6jkp36m5rgcy2h5bwhqx2cj7wma6xf6cw3lf"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/godotengine/emacs-gdscript-mode")
+    (synopsis "Emacs package to get GDScript support and syntax highlighting")
+    (description
+     "This package adds support for the GDScript programming language from the
+Godot game engine in Emacs.
+
+This mode already features all the essentials:
+
+@itemize
+@item Syntax highlighting.
+@item Code folding.
+@item Imenu.
+@item Support for scenes (@file{.tscn}) and script (@file{.gd}) files.
+@item Comment wrapping when using @code{fill-paragraph}.
+@item Indentation and auto-indentation: tab-based (default) and space-based.
+@item Automatic pairing of parentheses, brackets, etc.
+@item Code formatting using @command{gdformat}.
+@item Auto-completion for all the keywords in @file{gdscript-keywords.el}.
+@item Run or open the project and files with Godot.
+@item Browsing the API reference in Emacs.
+@end itemize")
+    (license license:gpl3+)))
+
 (define-public emacs-el-mock
   (package
     (name "emacs-el-mock")
-- 
2.20.1





             reply	other threads:[~2020-09-07 20:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-07 20:22 Vinicius Monego [this message]
2020-09-08 11:51 ` bug#43266: [PATCH] gnu: Add emacs-gdscript-mode Nicolas Goaziou

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200907202217.13929-1-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=43266@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).