[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43266] [PATCH] gnu: Add emacs-gdscript-mode.
From: |
Vinicius Monego |
Subject: |
[bug#43266] [PATCH] gnu: Add emacs-gdscript-mode. |
Date: |
Mon, 7 Sep 2020 17:22:17 -0300 |
* 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
- [bug#43266] [PATCH] gnu: Add emacs-gdscript-mode.,
Vinicius Monego <=