Add instructions to install with use-package and straight.el

This commit is contained in:
Jorge Javier Araya Navarro
2020-03-03 12:20:05 -06:00
parent 60ee1a62bc
commit 48765f3209

View File

@@ -73,6 +73,19 @@ Require the package in your `.doom.d/config.el` file:
(require 'gdscript-mode)
```
### Installing with `use-package` + `straight.el` ###
Add the call to use-package to your Emacs configuration:
```lisp
(use-package gdscript-mode
:straight (gdscript-mode
:type git
:host github
:repo "GDQuest/emacs-gdscript-mode"
:files ("*.el" "data/*.txt")))
```
## Formatting with gdformat ##
You can call the `gdscript-format` function to format the current buffer with