feat(beancount): support folding org headers (#3078)

requires beancount parser update

Co-authored-by: Brian Ryall <brian@brianryall.xyz>
Co-authored-by: Christian Clason <c.clason@uni-graz.at>
This commit is contained in:
PolarMutex 2022-06-28 04:44:38 -04:00 committed by GitHub
parent 08788c036a
commit b8459df74d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
"revision": "275effdfc0edce774acf7d481f9ea195c6c403cd" "revision": "275effdfc0edce774acf7d481f9ea195c6c403cd"
}, },
"beancount": { "beancount": {
"revision": "78b8ddca3ab774573a4e3bf64eabd79e9452cea9" "revision": "a1050584340a2375b6b480ba9e9691aebb9d33d5"
}, },
"bibtex": { "bibtex": {
"revision": "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34" "revision": "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34"

View file

@ -820,7 +820,7 @@ list.r = {
list.beancount = { list.beancount = {
install_info = { install_info = {
url = "https://github.com/polarmutex/tree-sitter-beancount", url = "https://github.com/polarmutex/tree-sitter-beancount",
files = { "src/parser.c" }, files = { "src/parser.c", "src/scanner.cc" },
branch = "master", branch = "master",
}, },
maintainers = { "@polarmutex" }, maintainers = { "@polarmutex" },

View file

@ -1,4 +1,4 @@
[ [
(transaction) (transaction)
(heading) (section)
] @fold ] @fold