<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/_defaults.lua, branch aucmd_textputpost</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(defaults): wait until VimEnter to set background (#26284)</title>
<updated>2023-11-29T15:43:11+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-11-29T15:43:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9b4b23493d6976613fc3e8b561c34bb4b808399c'/>
<id>9b4b23493d6976613fc3e8b561c34bb4b808399c</id>
<content type='text'>
The OptionSet autocommand does not fire until Vim has finished starting,
so setting 'background' before the VimEnter event would not fire the
OptionSet event. The prior implementation also waited until VimEnter to
set 'background', so this was a regression introduced when moving
background detection into Lua.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The OptionSet autocommand does not fire until Vim has finished starting,
so setting 'background' before the VimEnter event would not fire the
OptionSet event. The prior implementation also waited until VimEnter to
set 'background', so this was a regression introduced when moving
background detection into Lua.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use optional base argument of tonumber (#26070)</title>
<updated>2023-11-16T18:25:50+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-11-16T18:25:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2f64546dc1cf0816b032af2ce7ded72ce4e581b3'/>
<id>2f64546dc1cf0816b032af2ce7ded72ce4e581b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: only attempt to close timer if not already closing (#26047)</title>
<updated>2023-11-14T23:02:57+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-11-14T23:02:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ba58c6f8a44c9c37e97fce1d802dc5b5defceb3d'/>
<id>ba58c6f8a44c9c37e97fce1d802dc5b5defceb3d</id>
<content type='text'>
This fixes an error that can occur in certain pathological cases when
the autocommand fires at just the right time such that it attempts to
close the timer after the timer has already exited, but before the
scheduled callback has fired.

We now let the timer continue to run even when the autocommand deletes
itself to avoid having to repeat the cleanup code multiple times. There
is no harm in letting the timer execute if the autocommand does not
exist, as the pcall will catch the error.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes an error that can occur in certain pathological cases when
the autocommand fires at just the right time such that it attempts to
close the timer after the timer has already exited, but before the
scheduled callback has fired.

We now let the timer continue to run even when the autocommand deletes
itself to avoid having to repeat the cleanup code multiple times. There
is no harm in letting the timer execute if the autocommand does not
exist, as the pcall will catch the error.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: move background color detection into Lua</title>
<updated>2023-11-14T01:04:46+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2023-11-06T21:46:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ab102f188e86bdbfce1d4de2ef633092a906e8fe'/>
<id>ab102f188e86bdbfce1d4de2ef633092a906e8fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: move defaults into separate module (#25929)</title>
<updated>2023-11-08T15:33:37+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-11-08T15:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=08847a9ea15a50aba041ee621d71b9884f5fea97'/>
<id>08847a9ea15a50aba041ee621d71b9884f5fea97</id>
<content type='text'>
Move default mappings and autocommands into a separate module and add
comments and docstrings to document each of the defaults.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move default mappings and autocommands into a separate module and add
comments and docstrings to document each of the defaults.</pre>
</div>
</content>
</entry>
</feed>
