21 Commits

Author SHA1 Message Date
Benjamin Kästner
9043e1a6b6 Replace old repository path
The repository was moved from GDQuest to godotengine on GitHub.
2021-03-28 20:59:54 +02:00
Josef Vlach
e8f56823eb Use gdscript-mode-syntax-table instead of gdscript-syntax-table
Highlight '$' operator constant similar to Godot editor
2020-07-25 14:22:17 +01:00
Franco Eusébio Garcia
6a3e4070bb Add syntax highlighting for function calls
Closes #30.

Pattern: identifier optional_spaces open_parenthesis

The implementation uses `"("` instead `(syntax open-parenthesis)` as
`open-parenthesis` is defined from `(open-paren (or "{" "[" "("))`. As a result,
the regular expression would also highlight array and dictionary variables.

The regular expression does highlight signal definitions with parameters,
though, as they follow the same pattern of function calls. This could be avoided
by ignoring expressions started with "signal" (or by adding a custom rule to
highlight signal definitions).
2020-04-03 15:22:52 -03:00
Nathan Lovato
994fb62206 Fix error concatenating lists of keywords
Fix #39
2020-03-28 11:56:27 -06:00
Nathan Lovato
13a84a0193 Use cl-lib and cl-concatenate instead of seq-concatenate 2020-03-28 11:03:16 -06:00
Nathan Lovato
35cbac7fb9 Add missing package prefix to function definition 2020-03-26 18:40:44 -06:00
Nathan Lovato
57cbde873c Remove data files, cache keywords in a .el file instead 2020-03-23 07:59:20 -06:00
Nathan Lovato
7ce4c220dd Replace deprecated cl-concatenate with built-in seq-concatenate 2020-03-23 07:36:28 -06:00
Nathan Lovato
e900e05bde Address more linting errors 2020-03-23 07:28:10 -06:00
Nathan Lovato
6997f4ddd3 Fix more melpazoid warnings
Remove FSF from copyright lines
Address warnings in gdscript-indent-and-nav.el
2020-03-22 13:35:18 -06:00
Nathan Lovato
f72ce3b7d3 Address some melpazoid warnings and errors 2020-03-21 21:22:40 -06:00
Pawel Lampe
94d8642f0d Fix module startup for emacs 26.3 2020-03-04 22:03:16 +01:00
Nathan Lovato
f80758d517 Fix incorrect path when getting *.txt files
Closes #28
2020-03-01 05:39:44 -06:00
Nathan Lovato
3c5e31bfe3 Address package-lint warnings and errors
See #4
2020-02-17 10:34:32 -06:00
Nathan Lovato
68be13a965 Refactor gdscript-syntax to use a let construct 2020-02-17 07:36:55 -06:00
Nathan Lovato
92a1087a30 Compile keywords in the language 2020-02-16 07:32:50 -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
b7584fe1dc Update package headers, fix flycheck errors 2020-02-15 20:25:10 -06:00
Nathan Lovato
2909ff0c35 Use constants and eval on compile for completion keywords 2020-02-15 20:08:56 -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
fabbc7a7bb Split package into several modules
Closes #19
2020-02-15 14:23:49 -06:00