Closed craynot closed 5 months ago
Hi @craynot, thank you for submitting the pull request. Overall it looks good.
As mentioned in the README there are plans to transfer this project to GNU Emacs, so if you haven't assigned a copyright to the FSF yet, please refer to the Org-mode contribute guide and send an email to Kenta: tadsan@zonu.me
Hi @piotrkwiecinski Thank you for the reply!
I have added test for this case.
Can you clarify about FSF? I have send the request to assign@gnu.org, now waiting for the reply. Or should i have send it to tadsan@zonu.me ?
Hi @craynot. FSF is going to send you a form to sign. Once you sign it, send it back to FSF. They'll send you the final copy signed by them. Please send the final copy to tadsan@zonu.me .
It may take some time but you have to sign it only one time.
Thank you @piotrkwiecinski
Nice rainbow :smile:
Great work @craynot. As soon as we have signed FSF doc it's fine to merge @zonuexe.
Hi!
This merge fixes compitability with latest tree-sitter-php, adds some font rules, updates doc and fixes indention
1. Fixes compitability with latest tree-sitter-php In latest versions node
string_value
has been changed tostring_content
2. Add fontifications to base class and
?
symbol in optional types(base_clause (name) @php-class)
(optional_type "?" @php-type)
3. Add fontification to
$this
Looks like$
symbol is not allowed in capture-name's in queries, so related faces was renamed. To avoid conflicts, where php-face is already loaded fromphp-mode
, those faces was moved to another filephp-ts-face.el
Also there was a problem with overriding fonts by rules for all others variables and sigils, so this rules was moved to separate feature. If there is a cleaner way to do this, please let me know.4. Fix indention of open bracket Indention of open bracket in method declaration did not work, it was fixed by adding
(parent-is "method_declaration") parent-bol 0)
tophp-ts-mode--indent-rules
5. Update README Added simple installation & configuration tips.
6. Fix indention of default expression in switch-case Correspondent test was added
7. Add face tests This is my first experience with Eask, so maybe there is a better way to test font faces. And maybe it is a good idea to split face test to different
erts
files for eachfeature
. Having one big file or 15 small files, what is better is debatable8. Add some font rules Mostly it is about qualified_name, for each case test was added
9. Add
built-in
feature To highlight built-in functions, like inphp-mode
10. Fix indention of match statement