<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/treesitter, branch mix</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>fix(treesitter): prevent endless loop on self-inheritence</title>
<updated>2022-09-11T06:16:50+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-09-10T09:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1939518ebab72878f2a8ca0cb85c09f7e70d1093'/>
<id>1939518ebab72878f2a8ca0cb85c09f7e70d1093</id>
<content type='text'>
Fixes #20139
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #20139
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): use the right loading order for base queries (#20117)</title>
<updated>2022-09-08T09:17:29+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-09-08T09:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=893b659e88c61a8c3ce5b140ab475cd67e0ca6bc'/>
<id>893b659e88c61a8c3ce5b140ab475cd67e0ca6bc</id>
<content type='text'>
Use the first, not last, query for a language on runtimepath. Typically,
this implies that a user query will override a site plugin query, which 
will override a bundled runtime query.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the first, not last, query for a language on runtimepath. Typically,
this implies that a user query will override a site plugin query, which 
will override a bundled runtime query.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter)!: do not merge queries by default (#20105)</title>
<updated>2022-09-08T07:47:36+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-09-08T07:47:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0405594399741babd6d935d581eac2584b289f92'/>
<id>0405594399741babd6d935d581eac2584b289f92</id>
<content type='text'>
Problem: Treesitter queries for a given language in runtime were merged together, 
leading to errors if they targeted different parser versions (e.g., bundled viml queries 
and those shipped by nvim-treesitter).
Solution:  Runtime queries now work as follows:
* The last query in the rtp without `; extends` in the header will be used as the base query
* All queries (without a specific order) with `; extends` are concatenated with the base query

BREAKING CHANGE: queries need to be updated if they are meant to extend other queries</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Treesitter queries for a given language in runtime were merged together, 
leading to errors if they targeted different parser versions (e.g., bundled viml queries 
and those shipped by nvim-treesitter).
Solution:  Runtime queries now work as follows:
* The last query in the rtp without `; extends` in the header will be used as the base query
* All queries (without a specific order) with `; extends` are concatenated with the base query

BREAKING CHANGE: queries need to be updated if they are meant to extend other queries</pre>
</div>
</content>
</entry>
<entry>
<title>Use weak tables in tree-sitter code (#17117)</title>
<updated>2022-09-07T06:39:56+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-09-07T06:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fd1595514b747d8b083f78007579d869ccfbe89c'/>
<id>fd1595514b747d8b083f78007579d869ccfbe89c</id>
<content type='text'>
feat(treesitter): use weak tables when possible

Also add the defaulttable function to create a table whose values are created when a key is missing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat(treesitter): use weak tables when possible

Also add the defaulttable function to create a table whose values are created when a key is missing.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ts): do not clobber spelloptions (#20095)</title>
<updated>2022-09-06T18:22:05+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>me@lewisr.dev</email>
</author>
<published>2022-09-06T18:22:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=707edfc9e6a1745f268d1a9184183da521dc86b8'/>
<id>707edfc9e6a1745f268d1a9184183da521dc86b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(extmarks,ts,spell): full support for spelling</title>
<updated>2022-09-06T09:14:11+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>thomas.vigouroux@protonmail.com</email>
</author>
<published>2022-07-18T12:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=75adfefc85bcf0d62d2c0f51a951e6003b595cea'/>
<id>75adfefc85bcf0d62d2c0f51a951e6003b595cea</id>
<content type='text'>
- Added 'spell' option to extmarks:

  Extmarks with this set will have the region spellchecked.

- Added 'noplainbuffer' option to 'spelloptions':

  This is used to tell Neovim not to spellcheck the buffer. The old
  behaviour was to spell check the whole buffer unless :syntax was set.

- Added spelling support to the treesitter highlighter:

  @spell captures in highlights.scm are used to define regions which
  should be spell checked.

- Added support for navigating spell errors for extmarks:

  Works for both ephemeral and static extmarks

- Added '_on_spell_nav' callback for decoration providers:

  Since ephemeral callbacks are only drawn for the visible screen,
  providers must implement this callback to instruct Neovim which
  regions in the buffer need can be spell checked.

  The callback takes a start position and an end position.

  Note: this callback is subject to change hence the _ prefix.

- Added spell captures for built-in support languages

Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;
Co-authored-by: Björn Linse &lt;bjorn.linse@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Added 'spell' option to extmarks:

  Extmarks with this set will have the region spellchecked.

- Added 'noplainbuffer' option to 'spelloptions':

  This is used to tell Neovim not to spellcheck the buffer. The old
  behaviour was to spell check the whole buffer unless :syntax was set.

- Added spelling support to the treesitter highlighter:

  @spell captures in highlights.scm are used to define regions which
  should be spell checked.

- Added support for navigating spell errors for extmarks:

  Works for both ephemeral and static extmarks

- Added '_on_spell_nav' callback for decoration providers:

  Since ephemeral callbacks are only drawn for the visible screen,
  providers must implement this callback to instruct Neovim which
  regions in the buffer need can be spell checked.

  The callback takes a start position and an end position.

  Note: this callback is subject to change hence the _ prefix.

- Added spell captures for built-in support languages

Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;
Co-authored-by: Björn Linse &lt;bjorn.linse@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter)!: use @foo.bar style highlight groups</title>
<updated>2022-08-26T11:57:31+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-08-24T21:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=030b422d1e9517ed1b1c70fd8002b74881c80650'/>
<id>030b422d1e9517ed1b1c70fd8002b74881c80650</id>
<content type='text'>
This removes the support for defining links via
vim.treesitter.highlighter.hl_map (never documented, but plugins did
anyway), or the uppercase-only `@FooGroup.Bar` to `FooGroup` rule.

The fallback is now strictly `@foo.bar.lang` to `@foo.bar` to `@foo`,
and casing is irrelevant (as it already was outside of treesitter)

For compatibility, define default links to builting syntax groups
as defined by pre-existing color schemes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the support for defining links via
vim.treesitter.highlighter.hl_map (never documented, but plugins did
anyway), or the uppercase-only `@FooGroup.Bar` to `FooGroup` rule.

The fallback is now strictly `@foo.bar.lang` to `@foo.bar` to `@foo`,
and casing is irrelevant (as it already was outside of treesitter)

For compatibility, define default links to builting syntax groups
as defined by pre-existing color schemes
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): clarify similar 'get_node_range' functions</title>
<updated>2022-08-25T16:01:15+00:00</updated>
<author>
<name>Quentin Rasmont</name>
<email>qrasmont@gmail.com</email>
</author>
<published>2022-07-24T18:49:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=244a115e494bce8e8205c04a6e5f3ab74ec4ed65'/>
<id>244a115e494bce8e8205c04a6e5f3ab74ec4ed65</id>
<content type='text'>
The private 'get_node_range' function from the languagetree module has
been renamed and remains private as it serve a purpose that is only
relevant inside the languagetree module.

The 'get_node_range' upstreamed from nvim-treesitter in the treesitter
module has been made public as it is in itself a utlity function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The private 'get_node_range' function from the languagetree module has
been renamed and remains private as it serve a purpose that is only
relevant inside the languagetree module.

The 'get_node_range' upstreamed from nvim-treesitter in the treesitter
module has been made public as it is in itself a utlity function.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): add ability to retreive a tree/node given a range</title>
<updated>2022-08-25T16:01:14+00:00</updated>
<author>
<name>Quentin Rasmont</name>
<email>qrasmont@gmail.com</email>
</author>
<published>2022-04-30T08:43:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6b2d42eb0352d01923e4bf2e3ce0824c662b7be4'/>
<id>6b2d42eb0352d01923e4bf2e3ce0824c662b7be4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(treesitter): add opts.concat to query.get_text_node</title>
<updated>2022-08-25T16:01:14+00:00</updated>
<author>
<name>Quentin Rasmont</name>
<email>qrasmont@gmail.com</email>
</author>
<published>2022-04-26T20:42:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=733b2e12b86a34c00aa07e0491762f88582792a5'/>
<id>733b2e12b86a34c00aa07e0491762f88582792a5</id>
<content type='text'>
As part of the upstream of utility functions from nvim-treesitter, this
option when set to false allows to return a table (downstream behavior).
Effectively making the switch from the downstream to the upstream
function much easier.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As part of the upstream of utility functions from nvim-treesitter, this
option when set to false allows to return a table (downstream behavior).
Effectively making the switch from the downstream to the upstream
function much easier.
</pre>
</div>
</content>
</entry>
</feed>
