aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/python.vim
diff options
context:
space:
mode:
authorEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2025-12-28 16:00:40 +0200
committerEvgeni Chasnovski <evgeni.chasnovski@gmail.com>2025-12-28 18:39:26 +0200
commitf5707a9c42a6f0efd0d7abaa1e5caf62eab21aea (patch)
tree8168c6881a9bb28ea7bb4126e00972d75e56c8af /runtime/ftplugin/python.vim
parentc53fb58c15c365b41db893416483b3e38f3db79c (diff)
downloadrneovim-f5707a9c42a6f0efd0d7abaa1e5caf62eab21aea.tar.gz
rneovim-f5707a9c42a6f0efd0d7abaa1e5caf62eab21aea.tar.bz2
rneovim-f5707a9c42a6f0efd0d7abaa1e5caf62eab21aea.zip
feat(pack)!: make `del()` only remove non-active plugins by default
Problem: Using `vim.pack.del()` to delete active plugin can lead to a situation when this plugin is reinstalled after restart. Removing plugin from 'init.lua' is documented, but can be missed. Solution: Make `del()` only remove non-active plugins by default and throw an informative error if there is an active plugin. Add a way to force delete any plugin by adding `opts.force`. This also makes `del()` signature be the same as other functions, which is nice.
Diffstat (limited to 'runtime/ftplugin/python.vim')
0 files changed, 0 insertions, 0 deletions