<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/glob.lua, branch rahm</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>fix: resolve all remaining LuaLS diagnostics</title>
<updated>2025-01-27T16:37:50+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2025-01-24T13:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6aa42e8f92bd8bea49b7b2accfe4ab67a5344e41'/>
<id>6aa42e8f92bd8bea49b7b2accfe4ab67a5344e41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: another round of type annotation fixes</title>
<updated>2024-10-31T11:55:23+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-10-31T11:28:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1d4ba8c1edba064421b34c1197c3470a09798218'/>
<id>1d4ba8c1edba064421b34c1197c3470a09798218</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(glob): avoid `subcapture nesting too deep` error (#29520)</title>
<updated>2024-07-06T09:40:08+00:00</updated>
<author>
<name>Zoltán Nyikos</name>
<email>nyikoszoltan0@gmail.com</email>
</author>
<published>2024-07-06T09:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b109b1abce8c86f80aea06948b32e35a70daa0b0'/>
<id>b109b1abce8c86f80aea06948b32e35a70daa0b0</id>
<content type='text'>
Use Cmt to evaluate Cond and Elem during match to avoid building the
nested capture structure later.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use Cmt to evaluate Cond and Elem during match to avoid building the
nested capture structure later.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(glob): handle overlapping `{}` condition elements #29236</title>
<updated>2024-06-10T11:23:03+00:00</updated>
<author>
<name>Jon Huhn</name>
<email>nojnhuh@users.noreply.github.com</email>
</author>
<published>2024-06-10T11:23:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4bd86120d41e3b01433004bf761beccb7f3a0167'/>
<id>4bd86120d41e3b01433004bf761beccb7f3a0167</id>
<content type='text'>
This change fixes an issue where glob patterns like `{a,ab}` would not
match `ab` because the first option `a` matches, then the end of the
string is expected but `b` is found, and LPeg does not backtrack to try
the next option `ab` which would match. The fix here is to also append
the rest of the pattern to the generated LPeg pattern for each option.
This changes a glob `{a,ab}` from being parsed as

    ("a" or "ab") "end of string"

to

    ("a" "end of string" or "ab" "end of string")

Here, matching against `ab` would try the first option, fail to match,
then proceed to the next option, and match.

The sacrifice this change makes is dropping support for nested `{}`
conditions, which VSCode doesn't seem to support or test AFAICT.

Fixes #28931

Co-authored-by: Sergey Slipchenko &lt;faergeek@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change fixes an issue where glob patterns like `{a,ab}` would not
match `ab` because the first option `a` matches, then the end of the
string is expected but `b` is found, and LPeg does not backtrack to try
the next option `ab` which would match. The fix here is to also append
the rest of the pattern to the generated LPeg pattern for each option.
This changes a glob `{a,ab}` from being parsed as

    ("a" or "ab") "end of string"

to

    ("a" "end of string" or "ab" "end of string")

Here, matching against `ab` would try the first option, fail to match,
then proceed to the next option, and match.

The sacrifice this change makes is dropping support for nested `{}`
conditions, which VSCode doesn't seem to support or test AFAICT.

Fixes #28931

Co-authored-by: Sergey Slipchenko &lt;faergeek@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): refactored glob</title>
<updated>2024-01-19T11:54:04+00:00</updated>
<author>
<name>altermo</name>
<email>unknown</email>
</author>
<published>2024-01-18T09:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9707363b09dbadeb58966d6d45acca17bd74e527'/>
<id>9707363b09dbadeb58966d6d45acca17bd74e527</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): return after assert returns assert message (#27064)</title>
<updated>2024-01-17T19:34:25+00:00</updated>
<author>
<name>altermo</name>
<email>107814000+altermo@users.noreply.github.com</email>
</author>
<published>2024-01-17T19:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5aa14e1231b7eccfbc54cba8f20d54105212847d'/>
<id>5aa14e1231b7eccfbc54cba8f20d54105212847d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(glob): add glob module (#26853)</title>
<updated>2024-01-02T13:32:43+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2024-01-02T13:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5dc0bdfe98b59bb03226167ed541d17cc5af30b1'/>
<id>5dc0bdfe98b59bb03226167ed541d17cc5af30b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lsp): move glob parsing to util (#26519)</title>
<updated>2023-12-22T10:40:01+00:00</updated>
<author>
<name>Steven Arcangeli</name>
<email>506791+stevearc@users.noreply.github.com</email>
</author>
<published>2023-12-22T10:40:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=92204b06e7365cf4c68e6ea8258dce801f0a5df9'/>
<id>92204b06e7365cf4c68e6ea8258dce801f0a5df9</id>
<content type='text'>
refactor(lsp): move glob parsing to vim.glob

Moving the logic for using vim.lpeg to create a match pattern from a
glob into `vim.glob`. There are several places in the LSP spec that
use globs, and it's very useful to have glob matching as a
generally-available utility.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
refactor(lsp): move glob parsing to vim.glob

Moving the logic for using vim.lpeg to create a match pattern from a
glob into `vim.glob`. There are several places in the LSP spec that
use globs, and it's very useful to have glob matching as a
generally-available utility.</pre>
</div>
</content>
</entry>
</feed>
