<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/treesitter, branch tmp</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(ci): noisy logs, unreliable test #19019</title>
<updated>2022-06-19T02:19:08+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-06-19T02:19:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7b2b44bce4bff85d9fd1bef09d294ddb889056e4'/>
<id>7b2b44bce4bff85d9fd1bef09d294ddb889056e4</id>
<content type='text'>
Problem:
1. CI logs have too many (40+) logs mentioning SIGHUP:
   ```
   WRN 2022-06-18T16:05:47.075 T3568.22499.0/c deadly_signal:177: got signal 1 (SIGHUP)
   WRN 2022-06-18T16:05:47.273 T3569.91095.0/c deadly_signal:177: got signal 1 (SIGHUP)
   WRN 2022-06-18T16:05:47.651 T3570.59545.0/c deadly_signal:177: got signal 1 (SIGHUP)
   ```
2. TS parser test still sometimes fails on BSD CI.
3. remote_spec test fails too often.

Solution:
1. Log deadly signals at INFO level. It hasn't been helpful in CI, and
   for local troubleshooting it's reasonable to adjust the loglevel as
   needed.
2. Adjust the TS parser test again. ref #18911
3. Skip the remote_spec test. The `--remote` feature was merged before
   it was fully formed and needs to be revisited.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
1. CI logs have too many (40+) logs mentioning SIGHUP:
   ```
   WRN 2022-06-18T16:05:47.075 T3568.22499.0/c deadly_signal:177: got signal 1 (SIGHUP)
   WRN 2022-06-18T16:05:47.273 T3569.91095.0/c deadly_signal:177: got signal 1 (SIGHUP)
   WRN 2022-06-18T16:05:47.651 T3570.59545.0/c deadly_signal:177: got signal 1 (SIGHUP)
   ```
2. TS parser test still sometimes fails on BSD CI.
3. remote_spec test fails too often.

Solution:
1. Log deadly signals at INFO level. It hasn't been helpful in CI, and
   for local troubleshooting it's reasonable to adjust the loglevel as
   needed.
2. Adjust the TS parser test again. ref #18911
3. Skip the remote_spec test. The `--remote` feature was merged before
   it was fully formed and needs to be revisited.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(tests): unreliable parser_spec #18911</title>
<updated>2022-06-09T15:07:54+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-06-09T15:07:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9662cd7f48c5dc3b7ab5f5ca3e5b217a03faa6c9'/>
<id>9662cd7f48c5dc3b7ab5f5ca3e5b217a03faa6c9</id>
<content type='text'>
The "first run" has high variability. Looks like the test failures
correlate with 545dc82c1b22709c83ec23e9450f245f9ff1babc
, which makes sense because that improves "first run" performance.

So the `1000*` factor of this test could be adjusted to e.g. `300*` or `500*`.

ref https://github.com/neovim/neovim/pull/16945</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "first run" has high variability. Looks like the test failures
correlate with 545dc82c1b22709c83ec23e9450f245f9ff1babc
, which makes sense because that improves "first run" performance.

So the `1000*` factor of this test could be adjusted to e.g. `300*` or `500*`.

ref https://github.com/neovim/neovim/pull/16945</pre>
</div>
</content>
</entry>
<entry>
<title>test(ts): skip test if C parser is not available</title>
<updated>2022-06-08T22:04:25+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2022-06-08T22:04:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6b0595d7ccb9dd212f6363b2b00769c93b61f396'/>
<id>6b0595d7ccb9dd212f6363b2b00769c93b61f396</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): create new parser if language is not the same as cached parser (#18149)</title>
<updated>2022-04-22T14:15:28+00:00</updated>
<author>
<name>Chinmay Dalal</name>
<email>dalal.chinmay.0101@gmail.com</email>
</author>
<published>2022-04-22T14:15:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=116a3f4683de501228b422f67cf1030bee78759c'/>
<id>116a3f4683de501228b422f67cf1030bee78759c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(ui): allow conceal to be defined in decorations</title>
<updated>2022-03-20T17:02:41+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-03-19T12:48:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6eca9b69c4a1f40f27a6b41961af787327259de8'/>
<id>6eca9b69c4a1f40f27a6b41961af787327259de8</id>
<content type='text'>
Unlike syntax conceal, change highlight of concealed char

Can be used in tree-sitter using "conceal" metadata.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unlike syntax conceal, change highlight of concealed char

Can be used in tree-sitter using "conceal" metadata.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(tree-sitter): allow Atom-style capture fallbacks (#14196)</title>
<updated>2022-02-16T18:38:19+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-02-16T18:38:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8ab5ec4aaaeed27b1d8086d395171a52568378c2'/>
<id>8ab5ec4aaaeed27b1d8086d395171a52568378c2</id>
<content type='text'>
This allows falling back to `@definition` when we have no mapping
`@definition.fancy-specialization`.

This behavior is described in tree-sitter's documentation
(https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme).

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/738</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows falling back to `@definition` when we have no mapping
`@definition.fancy-specialization`.

This behavior is described in tree-sitter's documentation
(https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme).

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/738</pre>
</div>
</content>
</entry>
<entry>
<title>fix: append test for checking zero width node range</title>
<updated>2022-02-11T12:59:47+00:00</updated>
<author>
<name>kevinhwang91</name>
<email>kevin.hwang@live.com</email>
</author>
<published>2022-02-11T12:59:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=58d81efcb271b93d2d4903d235eab6c97a6c4d39'/>
<id>58d81efcb271b93d2d4903d235eab6c97a6c4d39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(ts): escape lang when loading parsers (#16668)</title>
<updated>2022-01-27T09:42:59+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-01-27T09:42:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f9080b24c4f60c3772db2b6e713ea5a6a3b52f1e'/>
<id>f9080b24c4f60c3772db2b6e713ea5a6a3b52f1e</id>
<content type='text'>
When trying to load a language parser, escape the value of
the language.

With language injection, the language might be picked up from the
buffer. If this value is erroneous it can cause `nvim_get_runtime_file`
to hard error.

E.g., the markdown expression `~~~{` will extract '{' as a language and
then try to get the parser using `parser/{*` as the pattern.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When trying to load a language parser, escape the value of
the language.

With language injection, the language might be picked up from the
buffer. If this value is erroneous it can cause `nvim_get_runtime_file`
to hard error.

E.g., the markdown expression `~~~{` will extract '{' as a language and
then try to get the parser using `parser/{*` as the pattern.</pre>
</div>
</content>
</entry>
<entry>
<title>perf(treesitter): cache query parsing</title>
<updated>2022-01-06T12:20:22+00:00</updated>
<author>
<name>Stephan Seitz</name>
<email>stephan.seitz@fau.de</email>
</author>
<published>2022-01-05T18:23:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9c26939f75be8057d8880689292a729e8d8c9306'/>
<id>9c26939f75be8057d8880689292a729e8d8c9306</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(ts): add support for multiline nodes in get_node_text (#14999)</title>
<updated>2021-12-12T11:05:39+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2021-12-12T11:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1f3c0593eb1d4e54ce1edf35da67d184807a9280'/>
<id>1f3c0593eb1d4e54ce1edf35da67d184807a9280</id>
<content type='text'>
Based on https://github.com/neovim/neovim/pull/14445

This extends `vim.treesitter.query.get_node_text` to return the text
that spans a node's range even if start_row ~= end_row.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on https://github.com/neovim/neovim/pull/14445

This extends `vim.treesitter.query.get_node_text` to return the text
that spans a node's range even if start_row ~= end_row.</pre>
</div>
</content>
</entry>
</feed>
