<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvim-treesitter/queries/beancount, branch fix/lua</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/beancount?h=fix%2Flua</id>
<link rel='self' href='http://git.sudomsg.com/mirror/nvim-treesitter/atom/queries/beancount?h=fix%2Flua'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/'/>
<updated>2025-05-12T16:43:40Z</updated>
<entry>
<title>feat!: drop modules, general refactor and cleanup</title>
<updated>2025-05-12T16:43:40Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-06-12T15:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=692b051b09935653befdb8f7ba8afdb640adf17b'/>
<id>urn:sha1:692b051b09935653befdb8f7ba8afdb640adf17b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(beancount): add comment injection</title>
<updated>2024-02-18T23:18:15Z</updated>
<author>
<name>Bruno BELANYI</name>
<email>bruno@belanyi.fr</email>
</author>
<published>2024-02-18T22:45:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d10e856c11ccc6ca4d9c11766a6ef605c375dd0a'/>
<id>urn:sha1:d10e856c11ccc6ca4d9c11766a6ef605c375dd0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: query formatting</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Pham Huy Hoang</name>
<email>hoangtun0810@gmail.com</email>
</author>
<published>2024-01-06T06:05:50Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9'/>
<id>urn:sha1:57a8acf0c4ed5e7f6dda83c3f9b073f8a99a70f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat!: align standard captures with upstream</title>
<updated>2024-01-19T15:58:37Z</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-12-24T09:00:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=1ae9b0e4558fe7868f8cda2db65239cfb14836d0'/>
<id>urn:sha1:1ae9b0e4558fe7868f8cda2db65239cfb14836d0</id>
<content type='text'>
Problem: Sharing highlight queries with upstream tree-sitter and
Helix is difficult.

Solution: Where reasonable, use capture names in tree-sitter's standard
list or Helix's Atom-style hierarchy.

Specifically:

* tree-sitter "standard capture names"
  (https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72):

  - `@parameter` -&gt; `@variable.parameter`
  - `@field` -&gt; `@variable.member`
  - `@namespace` -&gt; `@module`
  - `@float` -&gt; `@number.float`
  - `@symbol` -&gt; `@string.special.symbol`
  - `@string.regex` -&gt; `@string.regexp`
  - `@text.*` -&gt; `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below)
  - `@text.title` -&gt; `@markup.heading`
  - `@text.literal` -&gt; `@markup.raw`
  - `@text.reference` -&gt; `@markup.link`
  - `@text.uri` -&gt; `@markup.link.url` (in markup links)
  - `@string.special` -&gt; `@markup.link.label` (non-url links)
  - `@punctuation.special` -&gt; `@markup.list` (markdown lists only; move subitems from `@text.todo`)

* Helix captures
  (https://docs.helix-editor.com/master/themes.html#syntax-highlighting):

  - `@method` -&gt; `@function.method`
  - `@method.call` -&gt; `@function.method.call`
  - `@text.{todo,warning,note,danger}` -&gt; `@comment.{error,warning,hint,info,todo}`
  - `@text.diff.{add,delete,}` -&gt; `@diff.{plus,minus,delta}`
  - `@text.uri` -&gt; `@string.special.url` (outside markup)
  - `@preproc` -&gt; `@keyword.directive`
  - `@define` -&gt; `@keyword.directive`(`.define`?)
  - `@storageclass` -&gt; `@keyword.storage`
  - `@conditional` -&gt; `@keyword.conditional`
  - `@debug` -&gt; `@keyword.debug`
  - `@exception` -&gt; `@keyword.exception`
  - `@include` -&gt; `@keyword.import`
  - `@repeat` -&gt; `@keyword.repeat`

* cleanup

  - remove some redundant `@conceal` (but still allow it for conceal-only patterns)
  - remove obsolete `@error` (syntax linting is out of scope for this repo)
  - sort, cleanup capture list in `CONTRIBUTING.md`
</content>
</entry>
<entry>
<title>queries/*/highlights.scm : remove `@spell` for strings</title>
<updated>2023-08-07T15:39:40Z</updated>
<author>
<name>ShellCode33</name>
<email>shellcode33@proton.me</email>
</author>
<published>2023-08-07T13:20:09Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=d9e75a1736a960a104ff3086fc553a054f51835b'/>
<id>urn:sha1:d9e75a1736a960a104ff3086fc553a054f51835b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>highlights(beancount): update on latest updates</title>
<updated>2023-01-28T14:03:55Z</updated>
<author>
<name>Brian Ryall</name>
<email>brian@brianryall.xyz</email>
</author>
<published>2023-01-28T04:18:25Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=5812ae26f749f38fb6a315bd0c3544e6ed9905d4'/>
<id>urn:sha1:5812ae26f749f38fb6a315bd0c3544e6ed9905d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(beancount): support folding org headers (#3078)</title>
<updated>2022-06-28T08:44:38Z</updated>
<author>
<name>PolarMutex</name>
<email>115141+polarmutex@users.noreply.github.com</email>
</author>
<published>2022-06-28T08:44:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=b8459df74d6af57c353179b2b8c753af47cab594'/>
<id>urn:sha1:b8459df74d6af57c353179b2b8c753af47cab594</id>
<content type='text'>
requires beancount parser update

Co-authored-by: Brian Ryall &lt;brian@brianryall.xyz&gt;
Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;</content>
</entry>
<entry>
<title>Add headers as an option to fold on (#1873)</title>
<updated>2021-10-02T05:08:44Z</updated>
<author>
<name>Stephen Bolton</name>
<email>stephen@bitsonthemind.com</email>
</author>
<published>2021-10-02T05:08:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=e0e6d1b263c2cc678ebf616e04495195ea45d5e2'/>
<id>urn:sha1:e0e6d1b263c2cc678ebf616e04495195ea45d5e2</id>
<content type='text'>
* Add headers as an option to fold on

treesitter-beancount added grammar rules around orgmode and markdown
headers so that they are recognized in beancount documents. This change
makes it so that they will be taken into consideration when folding
text.

Commit: https://github.com/polarmutex/tree-sitter-beancount/commit/79ae7c1f2654a2a6936b0f37bf754e5ff59c9186

* Fix node name for headers

The correct name for the header nodes is heading.</content>
</entry>
<entry>
<title>Fix beancount queries</title>
<updated>2021-03-30T20:27:50Z</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-03-30T17:43:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=c7313ffd1009f41d9258537c9cf9ae579d090e82'/>
<id>urn:sha1:c7313ffd1009f41d9258537c9cf9ae579d090e82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>delete locals queries for beancount</title>
<updated>2021-03-22T06:11:10Z</updated>
<author>
<name>Brian Ryall</name>
<email>brianryall@fastmail.com</email>
</author>
<published>2021-03-21T21:04:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=600509aad6c3e38c45a0f67802ede5d2204e0250'/>
<id>urn:sha1:600509aad6c3e38c45a0f67802ede5d2204e0250</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix invalid annotation in beancount query</title>
<updated>2021-03-22T06:11:10Z</updated>
<author>
<name>Brian Ryall</name>
<email>brianryall@fastmail.com</email>
</author>
<published>2021-03-21T17:44:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=900222e1adc02a758c9f8ca6c09f8538a585b188'/>
<id>urn:sha1:900222e1adc02a758c9f8ca6c09f8538a585b188</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add support for beancount files</title>
<updated>2021-03-22T06:11:10Z</updated>
<author>
<name>Brian Ryall</name>
<email>brianryall@fastmail.com</email>
</author>
<published>2021-03-21T17:26:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/nvim-treesitter/commit/?id=fb75f019416f49f8542cc443cbf164d72c0f6e49'/>
<id>urn:sha1:fb75f019416f49f8542cc443cbf164d72c0f6e49</id>
<content type='text'>
</content>
</entry>
</feed>
