<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/_defaults.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>docs: misc</title>
<updated>2025-01-30T12:46:06+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2025-01-13T14:48:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e71d2c817d1a2475551f58a98e411f6b39a5be3f'/>
<id>e71d2c817d1a2475551f58a98e411f6b39a5be3f</id>
<content type='text'>
Co-authored-by: Dustin S. &lt;dstackmasta27@gmail.com&gt;
Co-authored-by: Ferenc Fejes &lt;fejes@inf.elte.hu&gt;
Co-authored-by: Maria José Solano &lt;majosolano99@gmail.com&gt;
Co-authored-by: Yochem van Rosmalen &lt;git@yochem.nl&gt;
Co-authored-by: brianhuster &lt;phambinhanctb2004@gmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Dustin S. &lt;dstackmasta27@gmail.com&gt;
Co-authored-by: Ferenc Fejes &lt;fejes@inf.elte.hu&gt;
Co-authored-by: Maria José Solano &lt;majosolano99@gmail.com&gt;
Co-authored-by: Yochem van Rosmalen &lt;git@yochem.nl&gt;
Co-authored-by: brianhuster &lt;phambinhanctb2004@gmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use nvim.foo.bar format for autocommand groups</title>
<updated>2025-01-15T05:25:25+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2025-01-14T03:45:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=09e01437c968be4c6e9f6bb3ac8811108c58008c'/>
<id>09e01437c968be4c6e9f6bb3ac8811108c58008c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(api): deprecate nvim_out/err_write(ln)</title>
<updated>2025-01-09T12:35:42+00:00</updated>
<author>
<name>Luuk van Baal</name>
<email>luukvbaal@gmail.com</email>
</author>
<published>2025-01-07T15:38:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5c92b40b4b173c7d85106689fef811e41994abb0'/>
<id>5c92b40b4b173c7d85106689fef811e41994abb0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(jobs): jobstart(…,{term=true}), deprecate termopen() #31343</title>
<updated>2024-12-19T15:07:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-12-19T15:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8ef41f590224dfeea2e51d9fec150e363fd72ee0'/>
<id>8ef41f590224dfeea2e51d9fec150e363fd72ee0</id>
<content type='text'>
Problem:
`termopen` has long been a superficial wrapper around `jobstart`, and
has no real purpose. Also, `vim.system` and `nvim_open_term` presumably
will replace all features of `jobstart` and `termopen`, so centralizing
the logic will help with that.

Solution:
- Introduce `eval/deprecated.c`, where all deprecated eval funcs will live.
- Introduce "term" flag of `jobstart`.
- Deprecate `termopen`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
`termopen` has long been a superficial wrapper around `jobstart`, and
has no real purpose. Also, `vim.system` and `nvim_open_term` presumably
will replace all features of `jobstart` and `termopen`, so centralizing
the logic will help with that.

Solution:
- Introduce `eval/deprecated.c`, where all deprecated eval funcs will live.
- Introduce "term" flag of `jobstart`.
- Deprecate `termopen`.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): disable 'foldcolumn' in terminal buffers (#31480)</title>
<updated>2024-12-06T16:19:24+00:00</updated>
<author>
<name>Micah Halter</name>
<email>micah@mehalter.com</email>
</author>
<published>2024-12-06T16:19:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e8e3b443f8040329bd833fcc945d5dbf3adb832c'/>
<id>e8e3b443f8040329bd833fcc945d5dbf3adb832c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(defaults): don't replace keycodes in Visual search mappings (#31460)</title>
<updated>2024-12-05T11:03:58+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2024-12-05T11:03:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8323398bc6081af3f79b220b886e3c0373129c7e'/>
<id>8323398bc6081af3f79b220b886e3c0373129c7e</id>
<content type='text'>
Also remove "silent" to be more consistent with Normal mode search.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also remove "silent" to be more consistent with Normal mode search.</pre>
</div>
</content>
</entry>
<entry>
<title>defaults: disable 'number', 'relativenumber', and 'signcolumn' in terminal buffers (#31443)</title>
<updated>2024-12-04T14:40:01+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2024-12-04T14:40:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=56d11b494b54862a9b55ca1efcaa35f26c56b3ff'/>
<id>56d11b494b54862a9b55ca1efcaa35f26c56b3ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(tui): update 'background' on theme change events (#31350)</title>
<updated>2024-11-26T20:22:01+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2024-11-26T20:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d460928263d0ff53283f301dfcb85f5b6e17d2ac'/>
<id>d460928263d0ff53283f301dfcb85f5b6e17d2ac</id>
<content type='text'>
Enabling private DEC mode 2031 tells the terminal to notify Nvim
whenever the OS theme changes (i.e. light mode to dark mode or vice
versa) or the terminal emulator's palette changes. When we receive one
of these notifications we query the terminal color's background color
again to see if it has changed and update the value of 'background' if
it has.

We only do this though if the user has not explicitly set the value of
'bg' themselves. The help text is updated slightly to hint to users that
they probably shouldn't set this value: on modern terminal emulators
Nvim is able to completely determine this automatically.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enabling private DEC mode 2031 tells the terminal to notify Nvim
whenever the OS theme changes (i.e. light mode to dark mode or vice
versa) or the terminal emulator's palette changes. When we receive one
of these notifications we query the terminal color's background color
again to see if it has changed and update the value of 'background' if
it has.

We only do this though if the user has not explicitly set the value of
'bg' themselves. The help text is updated slightly to hint to users that
they probably shouldn't set this value: on modern terminal emulators
Nvim is able to completely determine this automatically.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(defaults): omit empty line from unimpaired mapping messages (#31347)</title>
<updated>2024-11-25T22:33:11+00:00</updated>
<author>
<name>Marcus Caisey</name>
<email>marcus@teckna.com</email>
</author>
<published>2024-11-25T22:33:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c644228e1dfe9f70aae53292b328be98dc95b8f7'/>
<id>c644228e1dfe9f70aae53292b328be98dc95b8f7</id>
<content type='text'>
Problem:
The default unimpaired mappings display an empty line after the
command's output. This results (with default configuration) in the
`Press ENTER or type command to continue` prompt to be displayed, like
so:
```
(2 of 16): item2

Press ENTER or type command to continue
```

Solution:
The cause is that we're checking the second return value from
`pcall(vim.api.nvim_cmd, opts, {})` to determine whether the call was
successful. `nvim_cmd` returns an empty string on success, so this value
is an empty string in the successful path which we then display.

The fix is simple: check the first return value instead which is the
"status code" of the call.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
The default unimpaired mappings display an empty line after the
command's output. This results (with default configuration) in the
`Press ENTER or type command to continue` prompt to be displayed, like
so:
```
(2 of 16): item2

Press ENTER or type command to continue
```

Solution:
The cause is that we're checking the second return value from
`pcall(vim.api.nvim_cmd, opts, {})` to determine whether the call was
successful. `nvim_cmd` returns an empty string on success, so this value
is an empty string in the successful path which we then display.

The fix is simple: check the first return value instead which is the
"status code" of the call.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): dot-repeat [&lt;Space&gt; #31186</title>
<updated>2024-11-17T21:31:24+00:00</updated>
<author>
<name>Peter Aronoff</name>
<email>peter@aronoff.org</email>
</author>
<published>2024-11-17T21:31:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=cc6992f1ca443f4da01cb4d57159d4cef37b36b7'/>
<id>cc6992f1ca443f4da01cb4d57159d4cef37b36b7</id>
<content type='text'>
Problem: `[&lt;Space&gt;` and `]&lt;Space&gt;` do not support repetition.

Solution: use `operatorfunc` and `g@l` to make these mappings dot
repeatable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: `[&lt;Space&gt;` and `]&lt;Space&gt;` do not support repetition.

Solution: use `operatorfunc` and `g@l` to make these mappings dot
repeatable.</pre>
</div>
</content>
</entry>
</feed>
