Format buffer and region.

Closes #38.

The implementation was simplified. Moreover, it is now possible to customize the
path to the `gdformat` executable.
This commit is contained in:
Franco Eusébio Garcia
2020-04-02 20:12:54 -03:00
parent 7b45e32e8d
commit b4d2bec304
4 changed files with 37 additions and 57 deletions

View File

@@ -110,5 +110,12 @@ PATH."
"The path to the Godot executable.
By default, it assumes that the executable is in the system's
PATH."
:type 'string
:group 'gdscript)
(defcustom gdscript-gdformat-executable "gdformat"
"The path to the gdformat executable.
By default, it assumes that the executable is in the system's
PATH."
:type 'string
:group 'gdscript)