This PR adds full support for tags for Kotlin language. 

- It pulls a recently added Kotlin parser from ctags and integrates it into 
tagmanager. Disclaimer: The parser was written (and is maintained) by me.
- It was also necessary to slightly modify the script `update-ctags.sh`, so it 
can import peg based parsers from ctags.
- I also renamed filetypes.Kotlin.conf to filetypes.kotlin, because geany for 
some reason (not really clear to me at this time), expects it named this way 
and if it isn't than syntax highlighting doesn't work at all. I hope 
this will not be a problem for backward compatibility...
- Simple test for kotlin tags is added as well.

Please let me know if there is anything else that needs to be done in order to 
merge this into Geany.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2778

-- Commit Summary --

  * Add support for Kotlin tags

-- File Changes --

    M ctags/Makefile.am (3)
    M ctags/ctags_changes.patch (13)
    A ctags/parsers/kotlin.c (17280)
    A ctags/parsers/kotlin.h (22)
    A ctags/parsers/kotlin_post.h (161)
    A ctags/parsers/kotlin_pre.h (81)
    M data/Makefile.am (2)
    R data/filedefs/filetypes.kotlin (2)
    M scripts/update-ctags.py (10)
    M src/filetypes.c (1)
    M src/filetypes.h (1)
    M src/symbols.c (12)
    M src/tagmanager/tm_parser.c (13)
    M src/tagmanager/tm_parser.h (1)
    M src/tagmanager/tm_parsers.h (3)
    M tests/ctags/Makefile.am (1)
    A tests/ctags/kotlin.kt (22)
    A tests/ctags/kotlin.kt.tags (12)

-- Patch Links --

https://github.com/geany/geany/pull/2778.patch
https://github.com/geany/geany/pull/2778.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2778

Reply via email to