<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/filetype.lua, branch master</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): enable param-type-mismatch diagnostic</title>
<updated>2026-09-28T13:43:14+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2026-09-28T13:19:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c6535538f8717a8f6134020a5bee65341cf8280f'/>
<id>c6535538f8717a8f6134020a5bee65341cf8280f</id>
<content type='text'>
Problem: Argument type mismatches are excluded from EmmyLua checks.

Solution: Correct runtime annotations and calls, document local checker
workarounds, and enable the diagnostic.

AI-assisted
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Argument type mismatches are excluded from EmmyLua checks.

Solution: Correct runtime annotations and calls, document local checker
workarounds, and enable the diagnostic.

AI-assisted
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): enable assignment type checking in runtime code</title>
<updated>2026-09-25T16:07:21+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2026-09-25T16:07:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ffa782066c2e02a068171963aded4bb300c25663'/>
<id>ffa782066c2e02a068171963aded4bb300c25663</id>
<content type='text'>
Enable EmmyLua's assign-type-mismatch diagnostic after correcting the
runtime annotations and assignments it flags.

Correct option, tuple, and return types, and use separate locals when a
value changes representation. Add guards and narrow casts where needed
so the runtime passes the stricter check. Regenerate the affected docs.

AI-assisted
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable EmmyLua's assign-type-mismatch diagnostic after correcting the
runtime annotations and assignments it flags.

Correct option, tuple, and return types, and use separate locals when a
value changes representation. Add guards and narrow casts where needed
so the runtime passes the stricter check. Regenerate the affected docs.

AI-assisted
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): enable nil-safety diagnostics in runtime code</title>
<updated>2026-09-25T09:28:19+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2026-09-24T12:30:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d7af8707026968887ea4ee3a4e6fa51fd4372033'/>
<id>d7af8707026968887ea4ee3a4e6fa51fd4372033</id>
<content type='text'>
Enable EmmyLua's need-check-nil diagnostic and resolve nullable values
through more precise types, explicit invariants, and guards for missing
runtime state. Keep analyzer-specific workarounds local and update the
affected API documentation.

Exclude the bundled re.lua from analysis so its nil-check warnings do
not fail CI.

AI-assisted
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable EmmyLua's need-check-nil diagnostic and resolve nullable values
through more precise types, explicit invariants, and guards for missing
runtime state. Keep analyzer-specific workarounds local and update the
affected API documentation.

Exclude the bundled re.lua from analysis so its nil-check warnings do
not fail CI.

AI-assisted
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.2.1128: filetype: icalendar files are not recognized</title>
<updated>2026-09-25T00:33:24+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-09-24T23:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2afc26df579381cc51770d7d37a310f87b167882'/>
<id>2afc26df579381cc51770d7d37a310f87b167882</id>
<content type='text'>
Problem:  filetype: icalendar files are not recognized
Solution: Detect *.ics files as icalendar filetype, include
          syntax and filetype plugins (Anakin Childerhose).

Reference:
https://datatracker.ietf.org/doc/html/rfc5545

closes: vim/vim#21356

https://github.com/vim/vim/commit/7c049d5ce1d6bc119abf9749ca5cad74225ca83e

Co-authored-by: Anakin Childerhose &lt;anakin@childerhose.ca&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  filetype: icalendar files are not recognized
Solution: Detect *.ics files as icalendar filetype, include
          syntax and filetype plugins (Anakin Childerhose).

Reference:
https://datatracker.ietf.org/doc/html/rfc5545

closes: vim/vim#21356

https://github.com/vim/vim/commit/7c049d5ce1d6bc119abf9749ca5cad74225ca83e

Co-authored-by: Anakin Childerhose &lt;anakin@childerhose.ca&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.2.1127: filetype: Gentoo portage config files are not recognized</title>
<updated>2026-09-25T00:33:24+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-09-24T23:53:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5503c87b6147c4674b11dacba44f456a7aa2fd47'/>
<id>5503c87b6147c4674b11dacba44f456a7aa2fd47</id>
<content type='text'>
Problem:  filetype: Gentoo portage config files are not recognized
Solution: Detect portage files as sh or confini filetype
          (Wu, Zhenyu)

Reference:
https://wiki.gentoo.org/wiki//etc/portage/make.conf
https://wiki.gentoo.org/wiki//etc/portage/repos.conf
https://wiki.gentoo.org/wiki//etc/portage/binrepos.conf

closes: vim/vim#21343

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

Co-authored-by: Wu, Zhenyu &lt;wuzhenyu@ustc.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  filetype: Gentoo portage config files are not recognized
Solution: Detect portage files as sh or confini filetype
          (Wu, Zhenyu)

Reference:
https://wiki.gentoo.org/wiki//etc/portage/make.conf
https://wiki.gentoo.org/wiki//etc/portage/repos.conf
https://wiki.gentoo.org/wiki//etc/portage/binrepos.conf

closes: vim/vim#21343

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

Co-authored-by: Wu, Zhenyu &lt;wuzhenyu@ustc.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.2.0934: filetype: hlsl files are not recognized</title>
<updated>2026-09-25T00:33:24+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-09-25T00:02:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=965d4ccfe41ba2715a5bb3e4ca76377bcee8d11c'/>
<id>965d4ccfe41ba2715a5bb3e4ca76377bcee8d11c</id>
<content type='text'>
Problem:  filetype: hlsl files are not recognized
Solution: Detect *.hlsl files hlsl filetype, include
          ftplugin, indent and syntax plugins, update
          gvim menu (Maxim Kim)

closes: vim/vim#20993

https://github.com/vim/vim/commit/11fca33162ad2e6a6365dbf6202fb1af0f21b7cb

Co-authored-by: Maxim Kim &lt;habamax@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  filetype: hlsl files are not recognized
Solution: Detect *.hlsl files hlsl filetype, include
          ftplugin, indent and syntax plugins, update
          gvim menu (Maxim Kim)

closes: vim/vim#20993

https://github.com/vim/vim/commit/11fca33162ad2e6a6365dbf6202fb1af0f21b7cb

Co-authored-by: Maxim Kim &lt;habamax@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): add missing param annotations (#41911)</title>
<updated>2026-09-15T13:14:21+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2026-09-15T13:14:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c171a697cbee36c4f36535e14f1407909733ca4b'/>
<id>c171a697cbee36c4f36535e14f1407909733ca4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.2.1080: filetype: not all crontab files are recognized (#41874)</title>
<updated>2026-09-12T01:05:47+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-09-12T01:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=497b912dc7f43801f804aafb44819dbab8f49474'/>
<id>497b912dc7f43801f804aafb44819dbab8f49474</id>
<content type='text'>
Problem:  filetype: not all crontab files are recognized
          (efahl)
Solution: Detect crontabs.* as crontab filetype

fixes: vim/vim#21253

https://github.com/vim/vim/commit/86a3567396d6f5fca6b4222363a8201308795a49

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  filetype: not all crontab files are recognized
          (efahl)
Solution: Detect crontabs.* as crontab filetype

fixes: vim/vim#21253

https://github.com/vim/vim/commit/86a3567396d6f5fca6b4222363a8201308795a49

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.2.1052: filetype: evcxr history files are not recognized (#41797)</title>
<updated>2026-09-10T09:57:31+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-09-10T09:57:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b99d1b0a5a37949b8a298be2f82ed946c2b9e5b6'/>
<id>b99d1b0a5a37949b8a298be2f82ed946c2b9e5b6</id>
<content type='text'>
Problem:  filetype: evcxr history files are not recognized
Solution: Detect evcxr/history.txt as rust filetype (Wu, Zhenyu).

Reference:
https://github.com/evcxr/evcxr/blob/main/evcxr_repl/README.md

closes: vim/vim#21164

https://github.com/vim/vim/commit/e6bc60ce1b24954ebead198ba0afe41f94bbcf89

Co-authored-by: Wu, Zhenyu &lt;wuzhenyu@ustc.edu&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  filetype: evcxr history files are not recognized
Solution: Detect evcxr/history.txt as rust filetype (Wu, Zhenyu).

Reference:
https://github.com/evcxr/evcxr/blob/main/evcxr_repl/README.md

closes: vim/vim#21164

https://github.com/vim/vim/commit/e6bc60ce1b24954ebead198ba0afe41f94bbcf89

Co-authored-by: Wu, Zhenyu &lt;wuzhenyu@ustc.edu&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>build: enable more EmmyLua checks</title>
<updated>2026-09-09T21:31:58+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2026-09-09T12:04:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d039f19af54e73e1f076c29f1cb412c14612da07'/>
<id>d039f19af54e73e1f076c29f1cb412c14612da07</id>
<content type='text'>
Enable checks for unused code, deprecated calls, return types, and
annotations.

Fix the warnings and replace the deprecated highlight function. Keep
exceptions where old APIs are still needed or the checker gets it wrong.

AI-assisted
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable checks for unused code, deprecated calls, return types, and
annotations.

Fix the warnings and replace the deprecated highlight function. Keep
exceptions where old APIs are still needed or the checker gets it wrong.

AI-assisted
</pre>
</div>
</content>
</entry>
</feed>
