<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/ftplugin/ruby.vim, 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>vim-patch:f7ac0ef50988</title>
<updated>2023-09-07T07:06:35+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-09-06T21:50:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ec753cf40db4d326c2fbbf5e5be0d249be561a41'/>
<id>ec753cf40db4d326c2fbbf5e5be0d249be561a41</id>
<content type='text'>
runtime: don't execute external commands when loading ftplugins

This is a followup to 816fbcc262687b81fc46f82f7bbeb1453addfe0c (patch
9.0.1833: [security] runtime file fixes)

It basically disables that external commands are run on loading of the
filetype plugin, **unless** the user has set the `g:plugin_exec = 1`
global variable in their configuration or for a specific filetype the
variable g:&lt;filetype&gt;_exec=1.

There are a few more plugins, that may execute system commands like
debchangelog, gitcommit, sh, racket, zsh, ps1 but those do at least
do not run those commands by default during loading of the filetype plugin
(there the command is mostly run as convenience for auto-completion or
to provide documentation lookup).

closes: vim/vim#13034

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

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;
Co-authored-by: Tim Pope &lt;vim@tpope.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime: don't execute external commands when loading ftplugins

This is a followup to 816fbcc262687b81fc46f82f7bbeb1453addfe0c (patch
9.0.1833: [security] runtime file fixes)

It basically disables that external commands are run on loading of the
filetype plugin, **unless** the user has set the `g:plugin_exec = 1`
global variable in their configuration or for a specific filetype the
variable g:&lt;filetype&gt;_exec=1.

There are a few more plugins, that may execute system commands like
debchangelog, gitcommit, sh, racket, zsh, ps1 but those do at least
do not run those commands by default during loading of the filetype plugin
(there the command is mostly run as convenience for auto-completion or
to provide documentation lookup).

closes: vim/vim#13034

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

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;
Co-authored-by: Tim Pope &lt;vim@tpope.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:67c951df4c95</title>
<updated>2023-09-07T07:06:35+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-09-06T21:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5d1c1da3c90adece96f491e7f12fd76c03a881c9'/>
<id>5d1c1da3c90adece96f491e7f12fd76c03a881c9</id>
<content type='text'>
runtime(ftplugin): allow to exec if curdir is in PATH

In case the current directory is present as valid $PATH entry, it is OK
to call the program from it, even if vim curdir is in that same
directory.

(Without that patch, for instance, you will not be able to open .zip
files while your current directory is /bin)

closes: vim/vim#13027

https://github.com/vim/vim/commit/67c951df4c95981c716eeedb1b102d9668549e65

Co-authored-by: Anton Sharonov &lt;anton.sharonov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime(ftplugin): allow to exec if curdir is in PATH

In case the current directory is present as valid $PATH entry, it is OK
to call the program from it, even if vim curdir is in that same
directory.

(Without that patch, for instance, you will not be able to open .zip
files while your current directory is /bin)

closes: vim/vim#13027

https://github.com/vim/vim/commit/67c951df4c95981c716eeedb1b102d9668549e65

Co-authored-by: Anton Sharonov &lt;anton.sharonov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:282a94be990f</title>
<updated>2023-09-05T06:48:47+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-09-05T06:20:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6abc608445745e7e8def2aabf57c7a0c26b8a485'/>
<id>6abc608445745e7e8def2aabf57c7a0c26b8a485</id>
<content type='text'>
runtime: Fix problem of checking wrong cwd for ruby ftplugin (vim/vim#13026)

https://github.com/vim/vim/commit/282a94be990fc1ee5be46548bf7241b583d48972

Co-authored-by: Anton Sharonov (ant0sha) &lt;109120102+ant0sha@users.noreply.github.com&gt;
Co-authored-by: Anton Sharonov &lt;anton.sharonov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime: Fix problem of checking wrong cwd for ruby ftplugin (vim/vim#13026)

https://github.com/vim/vim/commit/282a94be990fc1ee5be46548bf7241b583d48972

Co-authored-by: Anton Sharonov (ant0sha) &lt;109120102+ant0sha@users.noreply.github.com&gt;
Co-authored-by: Anton Sharonov &lt;anton.sharonov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:da16a1b471aa</title>
<updated>2023-09-02T09:08:29+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-09-02T08:43:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=61ccdb2db62481a38604426be530753ad2f9e7cb'/>
<id>61ccdb2db62481a38604426be530753ad2f9e7cb</id>
<content type='text'>
runtime(ruby): Update syntax, indent and ftplugin files

While making changes to the ruby ftplugin, slightly change the exepath()
conditional from patch 9.0.1833 and move it after the :cd invocation.

closes: 12981
closes: 12994

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

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
Co-authored-by: Tim Pope &lt;code@tpope.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime(ruby): Update syntax, indent and ftplugin files

While making changes to the ruby ftplugin, slightly change the exepath()
conditional from patch 9.0.1833 and move it after the :cd invocation.

closes: 12981
closes: 12994

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

Co-authored-by: Doug Kearns &lt;dougkearns@gmail.com&gt;
Co-authored-by: Tim Pope &lt;code@tpope.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:9.0.1833: [security] runtime file fixes (#24969)</title>
<updated>2023-09-01T03:38:31+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-09-01T03:38:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7bf0963d48ec76b1cdeee55edc8f2053eca87367'/>
<id>7bf0963d48ec76b1cdeee55edc8f2053eca87367</id>
<content type='text'>
Problem:  runtime files may execute code in current dir
Solution: only execute, if not run from current directory

The perl, zig and ruby filetype plugins and the zip and gzip autoload
plugins may try to load malicious executable files from the current
working directory.  This is especially a problem on windows, where the
current directory is implicitly in your $PATH and windows may even run a
file with the extension `.bat` because of $PATHEXT.

So make sure that we are not trying to execute a file from the current
directory. If this would be the case, error out (for the zip and gzip)
plugins or silently do not run those commands (for the ftplugins).

This assumes, that only the current working directory is bad. For all
other directories, it is assumed that those directories were
intentionally set to the $PATH by the user.

https://github.com/vim/vim/commit/816fbcc262687b81fc46f82f7bbeb1453addfe0c

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  runtime files may execute code in current dir
Solution: only execute, if not run from current directory

The perl, zig and ruby filetype plugins and the zip and gzip autoload
plugins may try to load malicious executable files from the current
working directory.  This is especially a problem on windows, where the
current directory is implicitly in your $PATH and windows may even run a
file with the extension `.bat` because of $PATHEXT.

So make sure that we are not trying to execute a file from the current
directory. If this would be the case, error out (for the zip and gzip)
plugins or silently do not run those commands (for the ftplugins).

This assumes, that only the current working directory is bad. For all
other directories, it is assumed that those directories were
intentionally set to the $PATH by the user.

https://github.com/vim/vim/commit/816fbcc262687b81fc46f82f7bbeb1453addfe0c

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:46eea444d (#17920)</title>
<updated>2022-03-30T11:12:12+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-03-30T11:12:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ac1dd046c01e0685b0f8eeaa36e622b3c2f339ad'/>
<id>ac1dd046c01e0685b0f8eeaa36e622b3c2f339ad</id>
<content type='text'>
Update runtime files
https://github.com/vim/vim/commit/46eea444d992c2ae985cabb775a5d283f8e16df3

Skip repeat.txt as it only has vim9-specific changes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files
https://github.com/vim/vim/commit/46eea444d992c2ae985cabb775a5d283f8e16df3

Skip repeat.txt as it only has vim9-specific changes.</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:4d8f476176ea (#15612)</title>
<updated>2021-09-10T06:48:27+00:00</updated>
<author>
<name>Christian Clason</name>
<email>christian.clason@uni-due.de</email>
</author>
<published>2021-09-10T06:48:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8f0c843c130a2117610e7892a8c1ca0887a54a6f'/>
<id>8f0c843c130a2117610e7892a8c1ca0887a54a6f</id>
<content type='text'>
* vim-patch:4d8f476176ea

Update runtime files
https://github.com/vim/vim/commit/4d8f476176eadfc745bcb8e143460029048f858d

skip nsis/README.txt
skip doc/vim9.txt
skip src/nvim/po/it.po</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* vim-patch:4d8f476176ea

Update runtime files
https://github.com/vim/vim/commit/4d8f476176eadfc745bcb8e143460029048f858d

skip nsis/README.txt
skip doc/vim9.txt
skip src/nvim/po/it.po</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:2ed639abdc40</title>
<updated>2021-04-27T13:21:32+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2021-04-25T00:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f19c896e9d2ed2ed5970de255f84e0120c36a76e'/>
<id>f19c896e9d2ed2ed5970de255f84e0120c36a76e</id>
<content type='text'>
Update a few runtime files.
https://github.com/vim/vim/commit/2ed639abdc4000436115f378e28320b7bee38a6e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update a few runtime files.
https://github.com/vim/vim/commit/2ed639abdc4000436115f378e28320b7bee38a6e
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:d09091d4955c</title>
<updated>2019-07-29T18:50:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-07-29T01:03:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6fed5051008ec464316e6045cb7a900a329929d3'/>
<id>6fed5051008ec464316e6045cb7a900a329929d3</id>
<content type='text'>
Update runtime files.
https://github.com/vim/vim/commit/d09091d4955c5f41de69928f2db85611ed54ed23
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files.
https://github.com/vim/vim/commit/d09091d4955c5f41de69928f2db85611ed54ed23
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:89bcfda6834a</title>
<updated>2017-04-28T19:13:55+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-04-28T19:06:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a53409b564458f7a94c8fcd0725d1953dee58dce'/>
<id>a53409b564458f7a94c8fcd0725d1953dee58dce</id>
<content type='text'>
Updated runtime files.  Remove version checks for Vim older than 6.0.

https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated runtime files.  Remove version checks for Vim older than 6.0.

https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
</pre>
</div>
</content>
</entry>
</feed>
