@@ -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")