Commit Graph

276 Commits

Author SHA1 Message Date
Nathan Lovato
c4a5976ebb Merge branch 'ofrank123-master' 2020-02-05 08:37:01 -06:00
Oliver Frank
3d4adf08b5 Add support for .tres and .tscn files
This uses conf-toml-mode
2020-02-05 08:35:39 -06:00
Oliver Frank
acc503078d Add support for Emacs 26
This adds a copy of the rx package from Emacs 27 and adds some code that checks
the version of Emacs.
2020-02-05 08:35:07 -06:00
Oliver Frank
5111cad171 Add static keyword to block starters 2020-02-05 08:34:03 -06:00
Nathan Lovato
32d4622357 Mark utility functions as private top-level functions 2020-02-01 09:51:32 -06:00
Nathan Lovato
0b640e5a8c Remove unused utility functions 2020-02-01 09:49:34 -06:00
Nathan Lovato
0d142f3d77 Remove obsolete variable definition 2020-02-01 09:46:01 -06:00
Nathan Lovato
2e3cb46ad3 Remove unecessary docstring-related code
GDScript doesn't have docstrings, unlike Python.
2020-02-01 09:44:00 -06:00
Nathan Lovato
e6f390ef1a Replace eql with eq when checking for INT 2020-02-01 09:43:44 -06:00
Nathan Lovato
0eb5dd3209 Replace defsubst with define-inline
defsubst is apparently an obsolete macro, define-inline would offer better performances.
2020-02-01 09:32:54 -06:00
Nathan Lovato
b2c4ae72dd Remove unused function 2020-02-01 09:23:55 -06:00
Nathan Lovato
9a110dda31 Move the code to update the syntax table to the mode definition 2020-02-01 09:13:57 -06:00
Nathan Lovato
ce8a71cfd5 Remove obsolete aliases 2020-02-01 09:04:42 -06:00
Nathan Lovato
06afaea940 Add package header 2020-02-01 09:03:52 -06:00
Nathan Lovato
191265bc92 Rename use-tab-mode variable to use-tab-indents 2020-02-01 08:56:12 -06:00
Nathan Lovato
95cd7a3f57 Add list of available features to the README 2020-01-31 10:28:24 -06:00
Nathan Lovato
bb7876008f Add folding and hideshow support
Closes #9
2020-01-31 10:17:54 -06:00
Nathan Lovato
916813a621 Rename *tab-mode variable to *use-tab-mode 2020-01-31 10:17:54 -06:00
Nathan Lovato
9ae35cae52 Add customizable variable for type hints
I use it for contextual yas snippets here, to include in a future version of the
tool or as a separate package
2020-01-31 10:17:54 -06:00
Oliver Frank
3c1aa9a6d2 Fixed indentation with static functinos (#8)
* Bumped version; added doom docs; added .tscn support

* Bumped version; added doom docs; added .tscn support

* adding static to block starters
2020-01-19 18:33:57 +01:00
Oliver Frank
6f1fe6d392 Add .tscn support, bump minimum required version, update the README 2020-01-15 18:13:26 +01:00
Nathan Lovato
c5e49b6e8f Fix indent functions not working
A symbol was split into two. I also formatted the function

Fix #1
2020-01-15 09:57:39 +01:00
Nathan Lovato
147d1bd444 Port syntax, shortcuts, and regex from python.el
This adds support for imenu and correct indentation size
2020-01-14 23:03:14 +01:00
Nathan Lovato
dbc8528c0d Add syntax indent code based on Emacs 27's python.el
Add regex to read GDScript code
Add functions to detect the indents of code
2020-01-14 22:16:41 +01:00
Nathan Lovato
d936e5ce09 Add README 2020-01-14 21:46:33 +01:00
Nathan Lovato
72de1b30d5 Add the first version of GDScript-mode.el
Syntax highlighting for most keywords and built-in classes
Default variables for tab-based indents that are 4 spaces wide
2020-01-14 21:45:02 +01:00