<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/ftplugin/lua.vim, branch extregs</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>vim-patch:98bf999: runtime(lua): Update ftplugin, fix matchit block comment pattern (#40349)</title>
<updated>2026-06-21T13:40:03+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-06-21T13:40:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=131f9f73ace15e3ccd026a5328ae7c3062e8a3f6'/>
<id>131f9f73ace15e3ccd026a5328ae7c3062e8a3f6</id>
<content type='text'>
Include the unecessary but idiomatic leading '--' in the closing block
comment token.

E.g.,
	--[[
	 ...
	--]]

closes: vim/vim#20590

https://github.com/vim/vim/commit/98bf999d583118f73a8db7f808b5a22c1d38abd5

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include the unecessary but idiomatic leading '--' in the closing block
comment token.

E.g.,
	--[[
	 ...
	--]]

closes: vim/vim#20590

https://github.com/vim/vim/commit/98bf999d583118f73a8db7f808b5a22c1d38abd5

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:0fb6cea: runtime(lua): update 'path' option in filetype plugin #33876</title>
<updated>2025-05-07T01:02:06+00:00</updated>
<author>
<name>Phạm Bình An</name>
<email>111893501+brianhuster@users.noreply.github.com</email>
</author>
<published>2025-05-07T01:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fb59188b6d828066e4d4d0e18badb47bc400d9f3'/>
<id>fb59188b6d828066e4d4d0e18badb47bc400d9f3</id>
<content type='text'>
Problem:  Lua doesn't support importing module in path related to current
          file like JS does (https://www.reddit.com/r/lua/comments/wi0bau/whats_the_correct_way_to_run_a_lua_file_that_uses/)
Solution: Remove `.` from Lua buffer-local option `'path'`

closes: vim/vim#17267

https://github.com/vim/vim/commit/0fb6ceac4ce6c2360a1c45d41ca72779af9f6b2f</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  Lua doesn't support importing module in path related to current
          file like JS does (https://www.reddit.com/r/lua/comments/wi0bau/whats_the_correct_way_to_run_a_lua_file_that_uses/)
Solution: Remove `.` from Lua buffer-local option `'path'`

closes: vim/vim#17267

https://github.com/vim/vim/commit/0fb6ceac4ce6c2360a1c45d41ca72779af9f6b2f</pre>
</div>
</content>
</entry>
<entry>
<title>fix(runtime): cpoptions is reset in Lua file #33671</title>
<updated>2025-04-27T11:55:15+00:00</updated>
<author>
<name>Phạm Bình An</name>
<email>111893501+brianhuster@users.noreply.github.com</email>
</author>
<published>2025-04-27T11:55:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=923efaea28ff019d2e864e15f3f00f6d6962dc94'/>
<id>923efaea28ff019d2e864e15f3f00f6d6962dc94</id>
<content type='text'>
closes #33670</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #33670</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:2ffb4d0: runtime(lua): fix whitespace style issues in lua ftplugin (#33378)</title>
<updated>2025-04-08T00:07:26+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-04-08T00:07:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1ffc7d6bf89c9fedf79486f5714e665c65b383ce'/>
<id>1ffc7d6bf89c9fedf79486f5714e665c65b383ce</id>
<content type='text'>
related: vim/vim#17049

https://github.com/vim/vim/commit/2ffb4d0298426f6c57f3ec3caae4480024e4372d

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
related: vim/vim#17049

https://github.com/vim/vim/commit/2ffb4d0298426f6c57f3ec3caae4480024e4372d

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:00b927b: runtime(lua): improve foldexpr, add vim9 script version</title>
<updated>2025-04-07T08:19:00+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2025-04-06T15:49:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1e9e523521ca296151630333ce8424ecc2aabb17'/>
<id>1e9e523521ca296151630333ce8424ecc2aabb17</id>
<content type='text'>
closes: vim/vim#17049

https://github.com/vim/vim/commit/00b927b295c11e61942d34f7e1c384f1c6af9513

Co-authored-by: Konfekt &lt;Konfekt@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes: vim/vim#17049

https://github.com/vim/vim/commit/00b927b295c11e61942d34f7e1c384f1c6af9513

Co-authored-by: Konfekt &lt;Konfekt@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:0b82054: runtime(lua): Improve 'include' and make '*expr' functions script-local</title>
<updated>2025-03-01T22:46:26+00:00</updated>
<author>
<name>brianhuster</name>
<email>phambinhanctb2004@gmail.com</email>
</author>
<published>2025-02-28T18:41:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=47b748af5465201cfba710efb9ca695d2b19304b'/>
<id>47b748af5465201cfba710efb9ca695d2b19304b</id>
<content type='text'>
- Prevent 'include' from matching variable assignments as calls to
  require() and others.
- Use script-local functions for 'includeexpr' and 'foldexpr'.
- Formatting fixes.

closes: vim/vim#16746

https://github.com/vim/vim/commit/0b8205484b703b4a5a569cd1b0ed876bbb13901f

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Prevent 'include' from matching variable assignments as calls to
  require() and others.
- Use script-local functions for 'includeexpr' and 'foldexpr'.
- Formatting fixes.

closes: vim/vim#16746

https://github.com/vim/vim/commit/0b8205484b703b4a5a569cd1b0ed876bbb13901f

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:00a00f5: runtime(lua): Update lua ftplugin and documentation</title>
<updated>2025-03-01T22:46:26+00:00</updated>
<author>
<name>brianhuster</name>
<email>phambinhanctb2004@gmail.com</email>
</author>
<published>2025-02-28T18:27:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2b0f967b7704dcc782aebc99ec79482c20b5feef'/>
<id>2b0f967b7704dcc782aebc99ec79482c20b5feef</id>
<content type='text'>
Problem:
- The doc says the default `g:lua_subversion` is 2, but in fact it is 3
  (see `runtime/syntax/lua.vim`)
- `includeexpr` doesn't work with module in `init.lua`

Solution:
- Update documentation
- Assign value to option `&amp;include`
- Add function `LuaInclude` and assign it to `l:&amp;includeexpr`

closes: vim/vim#16655

https://github.com/vim/vim/commit/00a00f5d3fc8dcf08e959c207a90f5902abc6a08

Co-authored-by: brianhuster &lt;phambinhanctb2004@gmail.com&gt;
Co-authored-by: dkearns &lt;dougkearns@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
- The doc says the default `g:lua_subversion` is 2, but in fact it is 3
  (see `runtime/syntax/lua.vim`)
- `includeexpr` doesn't work with module in `init.lua`

Solution:
- Update documentation
- Assign value to option `&amp;include`
- Add function `LuaInclude` and assign it to `l:&amp;includeexpr`

closes: vim/vim#16655

https://github.com/vim/vim/commit/00a00f5d3fc8dcf08e959c207a90f5902abc6a08

Co-authored-by: brianhuster &lt;phambinhanctb2004@gmail.com&gt;
Co-authored-by: dkearns &lt;dougkearns@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:93197fde0f1d</title>
<updated>2024-01-15T10:40:44+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-01-15T10:12:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7ed69660237bd052d11af454503a986c22c507a7'/>
<id>7ed69660237bd052d11af454503a986c22c507a7</id>
<content type='text'>
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"

Problem:  The "*.*" browsefilter pattern only matches all files on
	  Windows (Daryl Lee)
Solution: Use "*" to filter on all platforms but keep "*.*" as the label
	  text on Windows. (Fixes vim/vim#12685, Doug Kearns)

The *.* browsefilter pattern used to match "All Files" on Windows is a
legacy of the DOS 8.3 filename wildcard matching algorithm.  For reasons
of backward compatibility this still works on Windows to match all
files, even those without an extension.

However, this pattern only matches filenames containing a dot on other
platforms.  This often makes files without an extension difficult to
access from the file dialog, e.g., "Makefile"

On Windows it is still standard practice to use "*.*" for the filter
label so ftplugins should use "All Files (*.*)" on Windows and "All
Files (*)" on other platforms.  This matches Vim's default browsefilter
values.

This commit also normalises the browsefilter conditional test to check
for the Win32 and GTK GUI features and an unset b:browsefilter.

closes: vim/vim#12759

https://github.com/vim/vim/commit/93197fde0f1db09b1e495cf3eb14a8f42c318b80

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime(ftplugin): Use "*" browsefilter pattern to match "All Files"

Problem:  The "*.*" browsefilter pattern only matches all files on
	  Windows (Daryl Lee)
Solution: Use "*" to filter on all platforms but keep "*.*" as the label
	  text on Windows. (Fixes vim/vim#12685, Doug Kearns)

The *.* browsefilter pattern used to match "All Files" on Windows is a
legacy of the DOS 8.3 filename wildcard matching algorithm.  For reasons
of backward compatibility this still works on Windows to match all
files, even those without an extension.

However, this pattern only matches filenames containing a dot on other
platforms.  This often makes files without an extension difficult to
access from the file dialog, e.g., "Makefile"

On Windows it is still standard practice to use "*.*" for the filter
label so ftplugins should use "All Files (*.*)" on Windows and "All
Files (*)" on other platforms.  This matches Vim's default browsefilter
values.

This commit also normalises the browsefilter conditional test to check
for the Win32 and GTK GUI features and an unset b:browsefilter.

closes: vim/vim#12759

https://github.com/vim/vim/commit/93197fde0f1db09b1e495cf3eb14a8f42c318b80

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:71badf9547e8 (#23285)</title>
<updated>2023-04-23T13:22:55+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-04-23T13:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e3f36377c156749bbdafc46d8a8cd017f378b4b5'/>
<id>e3f36377c156749bbdafc46d8a8cd017f378b4b5</id>
<content type='text'>
Update runtime files

https://github.com/vim/vim/commit/71badf9547e8f89571b9a095183671cbb333d528

Co-authored-by: Bram Moolenaar &lt;Bram@vim.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files

https://github.com/vim/vim/commit/71badf9547e8f89571b9a095183671cbb333d528

Co-authored-by: Bram Moolenaar &lt;Bram@vim.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:partial:b59ae59a5870 (#21170)</title>
<updated>2022-11-24T10:23:50+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2022-11-24T10:23:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=868d8d69627c4b8fd5225da0dff5905f75645946'/>
<id>868d8d69627c4b8fd5225da0dff5905f75645946</id>
<content type='text'>
Update runtime files

https://github.com/vim/vim/commit/b59ae59a58706e454ef8c78276f021b1f58466e7

- Omit `map()` lambda arg comment. Not worth mentioning for legacy script
  (and is already hinted at below).
- Cherry-pick latest `'thesaurusfunc'` example.
- Skip `optwin.vim` `'keyprotocol'` change.
- 🧜‍♀️

Co-authored-by: Bram Moolenaar &lt;Bram@vim.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files

https://github.com/vim/vim/commit/b59ae59a58706e454ef8c78276f021b1f58466e7

- Omit `map()` lambda arg comment. Not worth mentioning for legacy script
  (and is already hinted at below).
- Cherry-pick latest `'thesaurusfunc'` example.
- Skip `optwin.vim` `'keyprotocol'` change.
- 🧜‍♀️

Co-authored-by: Bram Moolenaar &lt;Bram@vim.org&gt;</pre>
</div>
</content>
</entry>
</feed>
