<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/_editor.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(lua): disallow vim.wait() in fast contexts</title>
<updated>2023-11-27T09:09:21+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-11-21T11:24:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=84bbe4b0ca935db1f6202db339aee5594a3b3908'/>
<id>84bbe4b0ca935db1f6202db339aee5594a3b3908</id>
<content type='text'>
`vim.wait()` cannot be called in a fast callback since the main loop
cannot be run in that context as it is not reentrant

Fixes #26122
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`vim.wait()` cannot be called in a fast callback since the main loop
cannot be run in that context as it is not reentrant

Fixes #26122
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.region): handle multibyte inclusive selection properly (#26129)</title>
<updated>2023-11-21T06:25:45+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-11-21T06:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fec5e3ab247bcc1ced67f1d0aa7fa10f694f933b'/>
<id>fec5e3ab247bcc1ced67f1d0aa7fa10f694f933b</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>
<entry>
<title>fix(lua): correct return value for on_key with no arguments (#25911)</title>
<updated>2023-11-07T00:33:38+00:00</updated>
<author>
<name>altermo</name>
<email>107814000+altermo@users.noreply.github.com</email>
</author>
<published>2023-11-07T00:33:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3198038224209c41932a305e2a2dee708d4e3ec8'/>
<id>3198038224209c41932a305e2a2dee708d4e3ec8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: small fixes (#25831)</title>
<updated>2023-11-02T23:22:02+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-11-02T23:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5a2543c1598a0cf97b8eca0573139c9c20d6c93a'/>
<id>5a2543c1598a0cf97b8eca0573139c9c20d6c93a</id>
<content type='text'>
Co-authored-by: Peter Aronoff &lt;peter@aronoff.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Peter Aronoff &lt;peter@aronoff.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): add snippet API (#25301)</title>
<updated>2023-10-21T06:51:26+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2023-10-21T06:51:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f1775da07fe48da629468bcfcc2a8a6c4c3f40ed'/>
<id>f1775da07fe48da629468bcfcc2a8a6c4c3f40ed</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): vim.region on linewise selection #25467</title>
<updated>2023-10-06T12:44:50+00:00</updated>
<author>
<name>Aayush Ojha</name>
<email>aayushojha12@gmail.com</email>
</author>
<published>2023-10-06T12:44:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5db076c7ccfef6732516074252ac4b21b12fc629'/>
<id>5db076c7ccfef6732516074252ac4b21b12fc629</id>
<content type='text'>
fixes #18155</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #18155</pre>
</div>
</content>
</entry>
<entry>
<title>feat: ignore swapfile for running Nvim processes #25336</title>
<updated>2023-10-04T13:31:25+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2023-10-04T13:31:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=29fe883aa9166bdbcae3f935523c75a8aa56fe45'/>
<id>29fe883aa9166bdbcae3f935523c75a8aa56fe45</id>
<content type='text'>
Problem:
The swapfile "E325: ATTENTION" dialog is displayed when editing a file
already open in another (running) Nvim. Usually this behavior is
annoying and irrelevant:
- "Recover" and the other options ("Open readonly", "Quit", "Abort") are
  almost never wanted.
- swapfiles are less relevant for "multi-Nvim" since 'autoread' is
  enabled by default.
  - Even less relevant if user enables 'autowrite'.

Solution:
Define a default SwapExists handler which does the following:
1. If the swapfile is owned by a running Nvim process, automatically
   chooses "(E)dit anyway" (caveat: this creates a new, extra swapfile,
   which is mostly harmless and ignored except by `:recover` or `nvim -r`.
2. Shows a 1-line "ignoring swapfile..." message.
3. Users can disable the default SwapExists handler via `autocmd! nvim_swapfile`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
The swapfile "E325: ATTENTION" dialog is displayed when editing a file
already open in another (running) Nvim. Usually this behavior is
annoying and irrelevant:
- "Recover" and the other options ("Open readonly", "Quit", "Abort") are
  almost never wanted.
- swapfiles are less relevant for "multi-Nvim" since 'autoread' is
  enabled by default.
  - Even less relevant if user enables 'autowrite'.

Solution:
Define a default SwapExists handler which does the following:
1. If the swapfile is owned by a running Nvim process, automatically
   chooses "(E)dit anyway" (caveat: this creates a new, extra swapfile,
   which is mostly harmless and ignored except by `:recover` or `nvim -r`.
2. Shows a 1-line "ignoring swapfile..." message.
3. Users can disable the default SwapExists handler via `autocmd! nvim_swapfile`.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: do not use deprecated functions #25334</title>
<updated>2023-09-25T04:39:59+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2023-09-25T04:39:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=db51548036ebe4b01c5b78aeca7a76aa71ab4fbe'/>
<id>db51548036ebe4b01c5b78aeca7a76aa71ab4fbe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: clarify vim.schedule_wrap behaviour</title>
<updated>2023-09-22T08:38:28+00:00</updated>
<author>
<name>Oliver Marriott</name>
<email>hello@omarriott.com</email>
</author>
<published>2023-09-21T05:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f413597f44f62a62675a3a7149e34a63f16e4821'/>
<id>f413597f44f62a62675a3a7149e34a63f16e4821</id>
<content type='text'>
- Remove the usage of the term "defer" to avoid confusion with
  `vim.defer_fn`, which also calls `vim.schedule_wrap` internally.
- Explicitly state that `vim.schedule_wrap` returns a function in the
  text.
- Mention that arguments are passed along.
- Include a usage example.
- Rename param to `fn`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove the usage of the term "defer" to avoid confusion with
  `vim.defer_fn`, which also calls `vim.schedule_wrap` internally.
- Explicitly state that `vim.schedule_wrap` returns a function in the
  text.
- Mention that arguments are passed along.
- Include a usage example.
- Rename param to `fn`.
</pre>
</div>
</content>
</entry>
</feed>
