<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/treesitter, branch master</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>docs: make Lua docstrings consistent #15255</title>
<updated>2021-08-22T20:55:28+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-22T20:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c2a211b8e3e00dfae594ccbd9a107aef85a9919c'/>
<id>c2a211b8e3e00dfae594ccbd9a107aef85a9919c</id>
<content type='text'>
The official developer documentation in in :h dev-lua-doc specifies to
use "--@" for special/magic tokens. However, this format is not
consistent with EmmyLua notation (used by some Lua language servers) nor
with the C version of the magic docstring tokens which use three comment
characters.

Further, the code base is currently split between usage of "--@",
"---@", and "--- @". In an effort to remain consistent, change all Lua
magic tokens to use "---@" and update the developer documentation
accordingly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The official developer documentation in in :h dev-lua-doc specifies to
use "--@" for special/magic tokens. However, this format is not
consistent with EmmyLua notation (used by some Lua language servers) nor
with the C version of the magic docstring tokens which use three comment
characters.

Further, the code base is currently split between usage of "--@",
"---@", and "--- @". In an effort to remain consistent, change all Lua
magic tokens to use "---@" and update the developer documentation
accordingly.</pre>
</div>
</content>
</entry>
<entry>
<title>perf(treesitter): avoid string lookup of highlight name in hot loop</title>
<updated>2021-08-19T14:45:04+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2021-08-19T14:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2460f0a7028550ea2d87492a4e8b95914fdba7b1'/>
<id>2460f0a7028550ea2d87492a4e8b95914fdba7b1</id>
<content type='text'>
These numbers are guaranteed to be stable even if you do "highlight
clear" (all attributes disappear, but not the id to name mapping itself)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These numbers are guaranteed to be stable even if you do "highlight
clear" (all attributes disappear, but not the id to name mapping itself)
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: remove reference to nvim-treesitter in comment</title>
<updated>2021-08-06T20:08:45+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-06-10T22:12:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=912152d6358e8043adf9bb064479c7dfa3ce885e'/>
<id>912152d6358e8043adf9bb064479c7dfa3ce885e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(treesitter): do not map hl_group when no mapping is set</title>
<updated>2021-08-06T20:04:28+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-06-10T19:34:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f489d98653845f0e7501434f8873bad6feccf19c'/>
<id>f489d98653845f0e7501434f8873bad6feccf19c</id>
<content type='text'>
This changes the behavior of the hl_cache to the old one.

- when the capture exists as a hlgroup -&gt; use it
- when hl_map contains a mapping -&gt; use it
- else do nothing (before: map capture to non-existing capture)

Before also captures `@foo.bar` would intend to use the hlgroup `foo.bar`
which results in a confusing error since hlgroups can't contain dots.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the behavior of the hl_cache to the old one.

- when the capture exists as a hlgroup -&gt; use it
- when hl_map contains a mapping -&gt; use it
- else do nothing (before: map capture to non-existing capture)

Before also captures `@foo.bar` would intend to use the hlgroup `foo.bar`
which results in a confusing error since hlgroups can't contain dots.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(ts): add documentation for listing fns</title>
<updated>2021-07-25T18:52:05+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>tomvig38@gmail.com</email>
</author>
<published>2021-07-25T18:47:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5c42e2a87f41815980b380f9d83ec0144ff9bd90'/>
<id>5c42e2a87f41815980b380f9d83ec0144ff9bd90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>treesitter: add query.list_directives</title>
<updated>2021-07-24T18:57:45+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-04-11T18:53:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b2a9afef6deaceb5d29440c486818ce8268c1873'/>
<id>b2a9afef6deaceb5d29440c486818ce8268c1873</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): allow to set highlight priority for queries</title>
<updated>2021-07-22T19:38:57+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-07-17T12:41:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=242608e6693f06c8e52ebf5813e697d28e96db52'/>
<id>242608e6693f06c8e52ebf5813e697d28e96db52</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>treesitter: add predicate "any-of?" (#14344)</title>
<updated>2021-05-14T15:41:20+00:00</updated>
<author>
<name>Raymond W. Ko</name>
<email>raymond.w.ko@gmail.com</email>
</author>
<published>2021-05-14T15:41:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7c95697026e76f9ee817cbea5ab11232a2443c15'/>
<id>7c95697026e76f9ee817cbea5ab11232a2443c15</id>
<content type='text'>
For the case of Clojure and other Lisp syntax highlighting, it is
necessary to create huge regexps consisting of hundreds of symbols with
the pipe (|) character. To make things more difficult, these Lisp
symbols sometimes consists of special characters that are themselves
part of special regexp characters like '*'. In addition to being
difficult to maintain, it's performance is suboptimal.

This patch introduces a new predicate to perform 'source' matching in
amortized constant time. This is accomplished by compiling a hash table
on the first use.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the case of Clojure and other Lisp syntax highlighting, it is
necessary to create huge regexps consisting of hundreds of symbols with
the pipe (|) character. To make things more difficult, these Lisp
symbols sometimes consists of special characters that are themselves
part of special regexp characters like '*'. In addition to being
difficult to maintain, it's performance is suboptimal.

This patch introduces a new predicate to perform 'source' matching in
amortized constant time. This is accomplished by compiling a hash table
on the first use.</pre>
</div>
</content>
</entry>
<entry>
<title>treesitter: do not escape in match? (#14382)</title>
<updated>2021-05-11T09:52:47+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2021-05-11T09:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5c9b4948d40e851a640f989d65511977a19c6bdd'/>
<id>5c9b4948d40e851a640f989d65511977a19c6bdd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #14418 from DerekStride/treesitter-set-directive</title>
<updated>2021-05-03T19:41:39+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>tomvig38@gmail.com</email>
</author>
<published>2021-05-03T19:41:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3fc71ea228f6fef058ebcb9c08c2ada32a705129'/>
<id>3fc71ea228f6fef058ebcb9c08c2ada32a705129</id>
<content type='text'>
[RDY] tree-sitter ensure there is a nested table allocated for `#set!`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[RDY] tree-sitter ensure there is a nested table allocated for `#set!`</pre>
</div>
</content>
</entry>
</feed>
