<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/version.lua, branch fix_repeatcmdline</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>docs: replace &lt;pre&gt; with ``` (#25136)</title>
<updated>2023-09-14T13:23:01+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-09-14T13:23:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2e92065686f62851318150a315591c30b8306a4b'/>
<id>2e92065686f62851318150a315591c30b8306a4b</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): improve annotations for stricter luals diagnostics (#24609)</title>
<updated>2023-08-09T09:06:13+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-08-09T09:06:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c43c745a14dced87a23227d7be4f1c33d4455193'/>
<id>c43c745a14dced87a23227d7be4f1c33d4455193</id>
<content type='text'>
Problem: luals returns stricter diagnostics with bundled luarc.json
Solution: Improve some function and type annotations:

* use recognized uv.* types 
* disable diagnostic for global `vim` in shared.lua
* docs: don't start comment lines with taglink (otherwise LuaLS will interpret it as a type)
* add type alias for lpeg pattern
* fix return annotation for `vim.secure.trust`
* rename local Range object in vim.version (shadows `Range` in vim.treesitter)
* fix some "missing fields" warnings
* add missing required fields for test functions in eval.lua
* rename lsp meta files for consistency
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: luals returns stricter diagnostics with bundled luarc.json
Solution: Improve some function and type annotations:

* use recognized uv.* types 
* disable diagnostic for global `vim` in shared.lua
* docs: don't start comment lines with taglink (otherwise LuaLS will interpret it as a type)
* add type alias for lpeg pattern
* fix return annotation for `vim.secure.trust`
* rename local Range object in vim.version (shadows `Range` in vim.treesitter)
* fix some "missing fields" warnings
* add missing required fields for test functions in eval.lua
* rename lsp meta files for consistency
</pre>
</div>
</content>
</entry>
<entry>
<title>docs(lua): more improvements (#24387)</title>
<updated>2023-07-18T14:42:30+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-07-18T14:42:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=be74807eef13ff8c90d55cf8b22b01d6d33b1641'/>
<id>be74807eef13ff8c90d55cf8b22b01d6d33b1641</id>
<content type='text'>
* docs(lua): teach lua2dox how to table

* docs(lua): teach gen_vimdoc.py about local functions

No more need to mark local functions with @private

* docs(lua): mention @nodoc and @meta in dev-lua-doc

* fixup!

Co-authored-by: Justin M. Keyes &lt;justinkz@gmail.com&gt;

---------

Co-authored-by: Justin M. Keyes &lt;justinkz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* docs(lua): teach lua2dox how to table

* docs(lua): teach gen_vimdoc.py about local functions

No more need to mark local functions with @private

* docs(lua): mention @nodoc and @meta in dev-lua-doc

* fixup!

Co-authored-by: Justin M. Keyes &lt;justinkz@gmail.com&gt;

---------

Co-authored-by: Justin M. Keyes &lt;justinkz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>docs(lua): change *lua-foo* -&gt; *vim.foo*</title>
<updated>2023-07-17T15:25:29+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-07-17T14:13:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c2d7c2826ca77b0ca31bec511fdcdf1e4abaf946'/>
<id>c2d7c2826ca77b0ca31bec511fdcdf1e4abaf946</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: tostring(vim.version()) fails if build is NIL #24097</title>
<updated>2023-06-22T07:36:38+00:00</updated>
<author>
<name>Julian Grinblat</name>
<email>julian@dotcore.co.il</email>
</author>
<published>2023-06-22T07:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=43e76cc3462bc5bcf2b6ade8af1c36e21d3da3c9'/>
<id>43e76cc3462bc5bcf2b6ade8af1c36e21d3da3c9</id>
<content type='text'>
Problem:
Since #23925, Version.build may be vim.NIL, which causes tostring() to fail:
    E5108: Error executing lua E5114: Error while converting print argument #1: …/version.lua:129:
    attempt to concatenate field 'build' (a userdata value)
    stack traceback:
            [C]: in function 'print'
            [string ":lua"]:1: in main chunk

Solution:
Handle vim.NIL in Version:__tostring().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Since #23925, Version.build may be vim.NIL, which causes tostring() to fail:
    E5108: Error executing lua E5114: Error while converting print argument #1: …/version.lua:129:
    attempt to concatenate field 'build' (a userdata value)
    stack traceback:
            [C]: in function 'print'
            [string ":lua"]:1: in main chunk

Solution:
Handle vim.NIL in Version:__tostring().</pre>
</div>
</content>
</entry>
<entry>
<title>feat: tostring(vim.version())</title>
<updated>2023-06-11T23:14:33+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2023-06-11T23:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e6887932539315e02621edb77d5e77c7c2a0b033'/>
<id>e6887932539315e02621edb77d5e77c7c2a0b033</id>
<content type='text'>
Problem:
tostring(vim.version()) returns "table: 0x…".

Solution:
Modify vim.version() to return a string prerelease instead of a boolean.

Fix #23863
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
tostring(vim.version()) returns "table: 0x…".

Solution:
Modify vim.version() to return a string prerelease instead of a boolean.

Fix #23863
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: vim.version() returns a Version object</title>
<updated>2023-06-11T22:09:10+00:00</updated>
<author>
<name>Gianmaria Bajo</name>
<email>mg1979.git@gmail.com</email>
</author>
<published>2023-06-07T12:28:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ecdb6465e272119f80f3b68a6695e0f74b02ca49'/>
<id>ecdb6465e272119f80f3b68a6695e0f74b02ca49</id>
<content type='text'>
- vim.version() returns a Version object.
  Makes it printable and removes the need of workarounds when passing it
  to other vim.version methods.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- vim.version() returns a Version object.
  Makes it printable and removes the need of workarounds when passing it
  to other vim.version methods.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: version-range &lt; and &lt;= #23539</title>
<updated>2023-06-06T13:38:45+00:00</updated>
<author>
<name>Gianmaria Bajo</name>
<email>mg1979.git@gmail.com</email>
</author>
<published>2023-06-06T13:38:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ca887b80a911df4db4ab5f5496075b9415b9990a'/>
<id>ca887b80a911df4db4ab5f5496075b9415b9990a</id>
<content type='text'>
vim.version.range() couldn't parse them correctly.
For example, vim.version.range('&lt;0.9.0'):has('0.9.0') returned `true`.

fix: range:has() accepts vim.version()
So that it's possible to compare a range with:

    vim.version.range(spec):has(vim.version())</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vim.version.range() couldn't parse them correctly.
For example, vim.version.range('&lt;0.9.0'):has('0.9.0') returned `true`.

fix: range:has() accepts vim.version()
So that it's possible to compare a range with:

    vim.version.range(spec):has(vim.version())</pre>
</div>
</content>
</entry>
<entry>
<title>docs: small fixes</title>
<updated>2023-05-13T19:33:22+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-05-13T19:33:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=08991b078267e5de0a19a136d00d4f71ad651a32'/>
<id>08991b078267e5de0a19a136d00d4f71ad651a32</id>
<content type='text'>
Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;
Co-authored-by: HiPhish &lt;hiphish@posteo.de&gt;
Co-authored-by: Julio B &lt;julio.bacel@gmail.com&gt;
Co-authored-by: T727 &lt;74924917+T-727@users.noreply.github.com&gt;
Co-authored-by: camoz &lt;camoz@users.noreply.github.com&gt;
Co-authored-by: champignoom &lt;66909116+champignoom@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;
Co-authored-by: HiPhish &lt;hiphish@posteo.de&gt;
Co-authored-by: Julio B &lt;julio.bacel@gmail.com&gt;
Co-authored-by: T727 &lt;74924917+T-727@users.noreply.github.com&gt;
Co-authored-by: camoz &lt;camoz@users.noreply.github.com&gt;
Co-authored-by: champignoom &lt;66909116+champignoom@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(vim.gsplit): remove "keepsep"</title>
<updated>2023-03-22T16:46:01+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2023-03-22T14:14:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e51139f5c1d70bef1424f29e63eb527514e42865'/>
<id>e51139f5c1d70bef1424f29e63eb527514e42865</id>
<content type='text'>
string.gmatch() is superior, use that instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
string.gmatch() is superior, use that instead.
</pre>
</div>
</content>
</entry>
</feed>
