feat(org): adds support for orgmode files (#413)

* feat(org): adds support for orgmode files

* fix(org): fixing the test file

---------

Co-authored-by: Cayetano Carpio <cayetano@carpio.com>
This commit is contained in:
Dagoberto Contreras 2024-03-04 00:02:37 -08:00 committed by GitHub
parent b8d1ffe58a
commit 53cdd58446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 48 additions and 0 deletions

3
queries/org/context.scm Normal file
View file

@ -0,0 +1,3 @@
(section
body: (_) @context.end
) @context

45
test/test.org Normal file
View file

@ -0,0 +1,45 @@
* a heading
** a subheading
* another heading
** a subheading
*** a subsubheading