mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2026-01-04 18:09:55 +03:00
Add instructions to install with use-package and straight.el
This commit is contained in:
13
README.md
13
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user