This can be used with the corresponding custom filetype.

@techee @elextr @b4n do we have some policy or already decided in the past how 
we handle ctags parsers and Scintilla lexers for filetype which are not 
included in Geany?

In this case, it is only a ctags parser for HCL for which we have a custom 
filetype in the wiki (https://wiki.geany.org/config/hcl-terraform) but not in 
Geany. Obviously, it'd be nice to be able to use the existing ctags parser 
with the custom filetype.

`terraform.c` is taken from uctags master without modifications, same for the 
unittest file.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add HCL (Terraform/OpenTofu) ctags parser

-- File Changes --

    M ctags/Makefile.am (1)
    A ctags/optlib/terraform.c (88)
    M meson.build (1)
    M src/tagmanager/tm_parser.c (18)
    M src/tagmanager/tm_parser.h (1)
    M src/tagmanager/tm_parsers.h (3)
    M tests/ctags/Makefile.am (1)
    M tests/ctags/runner.sh (3)
    A tests/ctags/simple.tf (29)
    A tests/ctags/simple.tf.tags (12)
    M tests/meson.build (1)

-- Patch Links --

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

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

Message ID: <geany/geany/pull/[email protected]>

Reply via email to