Port syntax, shortcuts, and regex from python.el

This adds support for imenu and correct indentation size
This commit is contained in:
Nathan Lovato
2020-01-14 22:59:30 +01:00
parent dbc8528c0d
commit 147d1bd444
2 changed files with 348 additions and 18 deletions

View File

@@ -35,6 +35,12 @@ dotspacemacs-additional-packages '((gdscript-mode :location local))
(require 'gdscript-mode))
```
## Available features ##
- Syntax highlighting for all built-in functions and classes in Godot 3.2
- Indentation
- Imenu to jump to functions quickly
## Planned features ##
1. Fixing the support for indentations.
@@ -42,7 +48,6 @@ dotspacemacs-additional-packages '((gdscript-mode :location local))
For auto-competition, we should rely on the GDScript language server coming in Godot 3.2. Another developer is working on it.
## Customization ##
Set the following variables to customize gdscript-mode:
@@ -55,4 +60,7 @@ Set the following variables to customize gdscript-mode:
## Credits ##
This is based on the [gdscript-mode](https://github.com/akoaysigod/gdscript-mode) package that is not in active development anymore.
This is based on:
1. The [gdscript-mode](https://github.com/akoaysigod/gdscript-mode) package that is not in active development anymore.
1. Python support from Emacs 27. GDScript took inspiration from Python so a lot of the Python package works well for it.