<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/ftplugin/vim.vim, 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>vim-patch:9a899af: runtime(vim): Fix heredoc triggering misidentifcation of Vim9 script</title>
<updated>2026-06-28T22:35:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-06-28T22:31:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=808fcc5a75eb143d358054e1a91588d3b4564ddb'/>
<id>808fcc5a75eb143d358054e1a91588d3b4564ddb</id>
<content type='text'>
The following let-heredoc can cause legacy scripts to be misidentified
as Vim9 script if it appears early in the file.  Only match :vim9script
at the start of a line where it sensibly belongs.

let x =&lt;&lt; trim LINES
  vim9script
  ...
LINES

fixes:  vim/vim#20647 (reported by Maxim Kim).
closes: vim/vim#20654

https://github.com/vim/vim/commit/9a899af7e8e74bb094cfdfda857580b2e8ddf840

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following let-heredoc can cause legacy scripts to be misidentified
as Vim9 script if it appears early in the file.  Only match :vim9script
at the start of a line where it sensibly belongs.

let x =&lt;&lt; trim LINES
  vim9script
  ...
LINES

fixes:  vim/vim#20647 (reported by Maxim Kim).
closes: vim/vim#20654

https://github.com/vim/vim/commit/9a899af7e8e74bb094cfdfda857580b2e8ddf840

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:7895c9e: runtime(vim): Update ftplugin, add heredocs to b:match_words (#40091)</title>
<updated>2026-06-02T16:55:20+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-06-02T16:55:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=75ee4272a6a67a3ef2a858286a438f8a24977f39'/>
<id>75ee4272a6a67a3ef2a858286a438f8a24977f39</id>
<content type='text'>
This depends on chrisbra/matchit#61 for full support of non-alphnum
heredoc markers.

closes: vim/vim#20399

https://github.com/vim/vim/commit/7895c9e6b8c6293b293656b48f2cd5f5a46a58b6

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This depends on chrisbra/matchit#61 for full support of non-alphnum
heredoc markers.

closes: vim/vim#20399

https://github.com/vim/vim/commit/7895c9e6b8c6293b293656b48f2cd5f5a46a58b6

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:ac5af8e: runtime(vim): Fix for :VimKeywordPrg when syntax does not match</title>
<updated>2026-02-03T23:14:12+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-02-03T23:13:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8f1667445e6c56a954c597b2e1177cc2bd6b1373'/>
<id>8f1667445e6c56a954c597b2e1177cc2bd6b1373</id>
<content type='text'>
When using vim9-syntax plugin, :VimKeywordPrg does not lookup functions
correctly, as it relies solely on syntax names to find the help topic.

The syntax keyword used for builtin function is vi9FuncNameBuiltin in
vim9-syntax plugin, not vimFuncName expected by :VimKeywordPrg, so the
fallback rules apply, and there is no fallback rule for function calls.

Fix by just checking if the first char after topic is '(', and if so
assume help topic is a function.

closes: vim/vim#19320

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

Co-authored-by: Mark Woods &lt;mwoods.online.ie@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using vim9-syntax plugin, :VimKeywordPrg does not lookup functions
correctly, as it relies solely on syntax names to find the help topic.

The syntax keyword used for builtin function is vi9FuncNameBuiltin in
vim9-syntax plugin, not vimFuncName expected by :VimKeywordPrg, so the
fallback rules apply, and there is no fallback rule for function calls.

Fix by just checking if the first char after topic is '(', and if so
assume help topic is a function.

closes: vim/vim#19320

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

Co-authored-by: Mark Woods &lt;mwoods.online.ie@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:c65643c: runtime(vim): Update ftplugin, fix option variable 'keywordprg' matching</title>
<updated>2026-02-03T23:13:06+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-02-03T23:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f3e2e718ec66e064b494b67ad90eadba69e00717'/>
<id>f3e2e718ec66e064b494b67ad90eadba69e00717</id>
<content type='text'>
- Match &amp;option, and &amp;[lg]:option variables.
- Match Ex commands after :bar.
- Fix matching of pre and post context text.
- Style - use '..' for string concatenation.

fixes vim/vim#17567
closes: vim/vim#17653

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

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Match &amp;option, and &amp;[lg]:option variables.
- Match Ex commands after :bar.
- Fix matching of pre and post context text.
- Style - use '..' for string concatenation.

fixes vim/vim#17567
closes: vim/vim#17653

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

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:b8efcc0: runtime(vim): set 'path' to common Vim directories</title>
<updated>2026-01-26T23:20:41+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-01-26T23:18:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f79bddd669fd14e650eb0922b4da5c00f5a8e3ad'/>
<id>f79bddd669fd14e650eb0922b4da5c00f5a8e3ad</id>
<content type='text'>
closes: vim/vim#19219

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

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

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

Co-authored-by: Mateo Gjika &lt;104777599+mateoxh@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:b405c79: runtime(vim): set 'comments' based on script type (legacy/Vim9) (#35359)</title>
<updated>2025-08-17T01:26:37+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-08-17T01:26:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7e450aa3839fb815f1f000a503bb3210022ce67a'/>
<id>7e450aa3839fb815f1f000a503bb3210022ce67a</id>
<content type='text'>
fixes: vim/vim#18000

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

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

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

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:08a410f: runtime(vim): recognize &lt;...&gt; strings (and keys) for 'keywordprg' (#32752)</title>
<updated>2025-03-06T11:40:47+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-03-06T11:40:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9a02906c44f3980e33e83171b30bc83abba8052c'/>
<id>9a02906c44f3980e33e83171b30bc83abba8052c</id>
<content type='text'>
see :help E499 and :h key-notation

closes: vim/vim#16795

https://github.com/vim/vim/commit/08a410f674a340f137623526bf8159d5a476f729

Co-authored-by: Konfekt &lt;Konfekt@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
see :help E499 and :h key-notation

closes: vim/vim#16795

https://github.com/vim/vim/commit/08a410f674a340f137623526bf8159d5a476f729

Co-authored-by: Konfekt &lt;Konfekt@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:580e457: runtime(vim): make VimKeywordPrg even smarter for regexes</title>
<updated>2025-02-25T23:31:49+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-02-25T23:31:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9c43e5cd4ae7dc82a6732793a01a1fa1e5b2b2ef'/>
<id>9c43e5cd4ae7dc82a6732793a01a1fa1e5b2b2ef</id>
<content type='text'>
closes: vim/vim#16729

https://github.com/vim/vim/commit/580e457a2a5fa63b9be0bf5f2c81434e157bcc0a

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#16729

https://github.com/vim/vim/commit/580e457a2a5fa63b9be0bf5f2c81434e157bcc0a

Co-authored-by: Konfekt &lt;Konfekt@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:094494b: runtime(vim): improve &amp;keywordprg in ftplugin</title>
<updated>2025-02-25T23:31:03+00:00</updated>
<author>
<name>brianhuster</name>
<email>phambinhanctb2004@gmail.com</email>
</author>
<published>2025-02-24T15:38:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6db439ff01319048fc23401fd7fbfba7d00a7c03'/>
<id>6db439ff01319048fc23401fd7fbfba7d00a7c03</id>
<content type='text'>
- let keywordprg in vim filetype handle context-sensitive help calls by
  detecting the syntax group of the word under the cursor
- reformat whitespace
- add modeline

related: vim/vim#16677
closes: vim/vim#16680

https://github.com/vim/vim/commit/094494bf2eef8d788944b2b00b3361feb545d3ae

Co-authored-by: Konfekt &lt;Konfekt@users.noreply.github.com&gt;
Co-authored-by: Andrew Radev &lt;andrey.radev@gmail.com&gt;
Co-authored-by: "D. Ben Knoble" &lt;ben.knoble+github@gmail.com&gt;
Co-authored-by: Gary Johnson &lt;garyjohn@spocom.com&gt;
Co-authored-by: Tim Pope &lt;code@tpope.net&gt;
Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- let keywordprg in vim filetype handle context-sensitive help calls by
  detecting the syntax group of the word under the cursor
- reformat whitespace
- add modeline

related: vim/vim#16677
closes: vim/vim#16680

https://github.com/vim/vim/commit/094494bf2eef8d788944b2b00b3361feb545d3ae

Co-authored-by: Konfekt &lt;Konfekt@users.noreply.github.com&gt;
Co-authored-by: Andrew Radev &lt;andrey.radev@gmail.com&gt;
Co-authored-by: "D. Ben Knoble" &lt;ben.knoble+github@gmail.com&gt;
Co-authored-by: Gary Johnson &lt;garyjohn@spocom.com&gt;
Co-authored-by: Tim Pope &lt;code@tpope.net&gt;
Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:7ceaa8f: runtime(vim): Remove trailing comma from match_words</title>
<updated>2025-01-07T07:03:13+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2025-01-06T17:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a942dea157aa6a89f1d2180d3386a65b3d320be2'/>
<id>a942dea157aa6a89f1d2180d3386a65b3d320be2</id>
<content type='text'>
fixes: vim/vim#16377 (`filetype plugin indent on` breaks matchit).
closes: vim/vim#16389

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

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes: vim/vim#16377 (`filetype plugin indent on` breaks matchit).
closes: vim/vim#16389

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

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
