ctags
ctags copied to clipboard
Terraform (HCL) (*.tf): new parser
Add support for Terraform (HCL) files.
Related:
- https://github.com/preservim/tagbar/issues/757
TODO
- [ ] add unit tests
- [ ] update documentation
- [ ] manpages
- [ ] codebase
Have opened this as a quick thing, please advise if there are other things I need to do before merging (I read through https://docs.ctags.io/en/latest/optlib.html but may have missed some things).
@masatake thank you for fast and thorough review 😄, I will address comments as/when I can.
@juliosueiras apologies, perhaps I should have talked to you first? 😅
@antonysouthworth-halter no, thats fine
I was able to add locals
parsing if this PR still has any traction.
@tonglil, feel free to make a new pull request that includes the changes of this pull request. (It means you take over this pull request.)
The biggest reason I didn't merge this is there is no test case. @tonglil do you have an interest in polishing this pull request?
Sorry, I will not be able to contribute to this PR.
@masatake I'd like to take over and finish this PR
@Haggus You are welcome. optlib/terraform.c is automatically generated by misc/optlib2c. So what you have to edit is optlib/terraform.ctags. Test cases are needed.
thanks @Haggus , unfortunately I never got time to come back to this. @masatake should we close this PR in favour of #3683 ?
I will close this via #3684.
@antonysouthworth-halter, thank you.