Pawel Lampe
94d8642f0d
Fix module startup for emacs 26.3
2020-03-04 22:03:16 +01:00
Nathan Lovato
c866a7fb12
Merge pull request #33 from shackra/use-package-straight
...
Add instructions to install with use-package and straight.el
2020-03-03 15:12:49 -06:00
Jorge Javier Araya Navarro
48765f3209
Add instructions to install with use-package and straight.el
2020-03-03 12:20:05 -06:00
Nathan Lovato
60ee1a62bc
Update CHANGELOG
2020-03-02 17:18:32 -06:00
Nathan Lovato
b028badcd9
Merge pull request #32 from ofrank123/match-indent-fix
...
Fix the match block indentation
2020-03-02 17:14:25 -06:00
Oliver Frank
53a955c492
Fix the match block indentation
2020-03-02 22:29:29 +00:00
Nathan Lovato
9118d91a3c
Add and and or keywords
...
Closes #31
2020-03-02 14:28:18 -06:00
Nathan Lovato
bba752032a
Add syntax highlighting and completion for the not keyword
2020-03-01 14:51:06 -06:00
Nathan Lovato
236f3a2e31
Sort remaining keywords
...
See the previous commit for an explanation
2020-03-01 14:50:19 -06:00
Nathan Lovato
e4a39b02da
Sort keywords
...
Sorting keywords, and sorting them when we generate or update them will
help to ensure that we don't add duplicates.
2020-03-01 14:28:52 -06:00
Nathan Lovato
102b63e24d
Add syntax highlighting for true and false keywords
2020-03-01 14:27:06 -06:00
Nathan Lovato
e922a1fc83
Fix hideshow local value
...
The variable needed an alist, I had to quote the only entry we're using
for gdscript-mode
2020-03-01 13:50:34 -06:00
Nathan Lovato
f77656f685
Add in keyword, update changelog
2020-03-01 07:36:05 -06:00
Nathan Lovato
fb215bb83b
Fix linter error in gdscript-mode body
...
Use setq-local for hs-special-modes-alist
2020-03-01 06:56:48 -06:00
Nathan Lovato
f80758d517
Fix incorrect path when getting *.txt files
...
Closes #28
2020-03-01 05:39:44 -06:00
Nathan Lovato
1717837d34
Apply paragraph fill to the README
2020-02-25 18:27:14 -06:00
Nathan Lovato
00c629cd94
Add contributing section to README
2020-02-25 18:27:02 -06:00
Nathan Lovato
81d9d5b9e1
Add banner
2020-02-25 16:26:12 -06:00
Nathan Lovato
361439f28b
Update CHANGELOG with 1.0.2 release notes
v1.0.2
2020-02-17 10:42:56 -06:00
Nathan Lovato
3c5e31bfe3
Address package-lint warnings and errors
...
See #4
2020-02-17 10:34:32 -06:00
Nathan Lovato
dfe2cd922e
Update documentation using checkdoc
...
Preparing for the MELPA release.
See #4
2020-02-17 09:43:49 -06:00
Nathan Lovato
f17c6a7418
Format code in gdscript-completion
2020-02-17 07:37:26 -06:00
Nathan Lovato
68be13a965
Refactor gdscript-syntax to use a let construct
2020-02-17 07:36:55 -06:00
Nathan Lovato
c633a6f4d1
Refactor rx code to fix import error with gdscript-rx macro
2020-02-17 07:36:34 -06:00
Nathan Lovato
92a1087a30
Compile keywords in the language
v1.0.1
2020-02-16 07:32:50 -06:00
Nathan Lovato
b92a59c397
Update README
v1.0.0
2020-02-15 22:22:45 -06:00
Nathan Lovato
faadd1fa80
Update function to load syntax keywords for doom emacs
...
Doom Emacs seems to flatten the package's file structure when installing from
GitHub. The new gdscript--get-package-file-content-as-string function will try
to load the file without the relative directory component if it can't find it
in, e.g., a data/ subdirectory.
2020-02-15 21:59:41 -06:00
Nathan Lovato
339c008607
Fix incorrect variable name
2020-02-15 21:03:47 -06:00
Nathan Lovato
657a9695b1
Update the README and CHANGELOG
2020-02-15 20:25:51 -06:00
Nathan Lovato
b7584fe1dc
Update package headers, fix flycheck errors
2020-02-15 20:25:10 -06:00
Nathan Lovato
b6b864e3bf
Use with-eval-after-load for hideshow
...
From the dev of Doom Emacs: "That package isn't guaranteed to be loaded when
this major mode activates, and it will throw a void-variable error if it isn't."
2020-02-15 20:11:38 -06:00
Nathan Lovato
2909ff0c35
Use constants and eval on compile for completion keywords
2020-02-15 20:08:56 -06:00
Nathan Lovato
98274b4b52
Add autoload cookies to gdscript-mode.el
...
When installing packages from a package-manager, this will help defer execution
and loading of the package until the corresponding symbols are actually called.*
*At least, if I understood this correctly.
2020-02-15 19:54:36 -06:00
Nathan Lovato
2e31a15c95
Add basic auto-completion support
...
This adds support for all the keywords found in the data/* directory using
Emacs's built-in completion system.
2020-02-15 18:18:25 -06:00
Nathan Lovato
50822e7189
Rename data files to *.txt
...
This makes it clear they're plain text files, and lists of strings.
2020-02-15 16:33:29 -06:00
Nathan Lovato
2c05bed515
Supress unused lexical argument warnings
2020-02-15 14:25:16 -06:00
Nathan Lovato
fabbc7a7bb
Split package into several modules
...
Closes #19
2020-02-15 14:23:49 -06:00
Nathan Lovato
0c3791e885
Add gitinore
2020-02-15 14:14:44 -06:00
Nathan Lovato
b352c3d592
Fix error when calling imenu in a gdscript file
2020-02-14 21:36:04 -06:00
Nathan Lovato
e9bee17a36
Fix compilation error in gdscript-rx
2020-02-14 21:33:07 -06:00
Nathan Lovato
15042b1f02
Move language keywords to individual text files
...
This will make it easier to update the keywords from Godot's source code, using
the shell.
Also, this makes the gdscript-mode buffer faster to parse and more performant
when viewing it.
Part of #19
2020-02-14 21:30:59 -06:00
Nathan Lovato
d174438496
Move imenu code to its own file, gdscript-imenu.el
2020-02-14 21:30:14 -06:00
Nathan Lovato
615b3e19b5
Fix incorrect regex to detect static function
...
Fix #17
2020-02-14 18:23:47 -06:00
Nathan Lovato
ff2d400e9a
Add class_name built-in keyword
...
Fix #16
2020-02-14 18:15:54 -06:00
Nathan Lovato
d195993c60
Add CHANGELOG, add code formatting instructions to README
2020-02-14 18:12:11 -06:00
Nathan Lovato
884c544f03
Update gdscript-mode description and update comment
2020-02-14 17:58:20 -06:00
Nathan Lovato
1f0e45da3b
Add module to format code using gdformat
...
Closes #22
2020-02-14 17:57:36 -06:00
Nathan Lovato
b5eb183d44
Revert "Load file gdscript-rx.el in Emacs 26 and before"
...
This reverts commit 8026003323 .
I'm having an error that the file gdscript-rx can't be found in Spacemacs, but
I'm not sure why.
2020-02-14 10:18:37 -06:00
Nathan Lovato
8026003323
Load file gdscript-rx.el in Emacs 26 and before
2020-02-14 08:36:01 -06:00
Nathan Lovato
a9902964a9
Remove obsolete alias in gdscript-rx
2020-02-14 08:35:48 -06:00