diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-09-06 23:50:17 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-09-07 09:06:35 +0200 |
commit | ec753cf40db4d326c2fbbf5e5be0d249be561a41 (patch) | |
tree | b631c1660e1c5667010a1ce4574e23bc0aa3571f /runtime/lua/vim/lsp/util.lua | |
parent | 5d1c1da3c90adece96f491e7f12fd76c03a881c9 (diff) | |
download | rneovim-ec753cf40db4d326c2fbbf5e5be0d249be561a41.tar.gz rneovim-ec753cf40db4d326c2fbbf5e5be0d249be561a41.tar.bz2 rneovim-ec753cf40db4d326c2fbbf5e5be0d249be561a41.zip |
vim-patch:f7ac0ef50988
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:<filetype>_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 <cb@256bit.org>
Co-authored-by: Tim Pope <vim@tpope.org>
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions