textobj-rubyblock should depend on textobj-user (2100)
Plugin: textobj-rubyblock
Script number: 3382
Vim.org page: http://www.vim.org/scripts/script.php?script_id=3382
Home page: https://github.com/nelstrom/vim-textobj-rubyblock
Source URL: git://github.com/nelstrom/vim-textobj-rubyblock (type git)
addon-info: {'dependencies': {'matchit.zip': {}}}
Target: /Users/aaron/.vim/vim-addons/textobj-rubyblock
Origin: git git://github.com/nelstrom/vim-textobj-rubyblock
Install plugin `textobj-rubyblock'?
[Y]es, (N)o:
The plugin shows a dependency on matchit.zip but it also depends on textobj-user (vim id: 2100).
Comments (5)
-
-
Account Deleted I noticed that line which is why I ended up creating an issue and not a pull request. It seems like it should work. However, as you can see in the output I provided, only "matchit.zip" is being listed as a dependency. When I don't manually include "textobj-user" I get:
Error detected while processing /Users/aaron/.vim/vim-addons/textobj-rubyblock/plugin/textobj/rubyblock.vim: line 12: E117: Unknown function: textobj#user#plugin Press ENTER or type command to continue
When I add "textobj-user" to my active addons the problem goes away.
-
- changed status to resolved
-
Thanks for reporting, fixed. Update VAM-kr and retry. You may have to reinstall that plugin because VAM writes the addon-info.json file on behalf of you on install/ update only if it does not yet exist. Thus you may have the old version on disk.
The code merging dependencies was buggy, the second overwrote the first.
-
Account Deleted Thank you for the quick response. Works great.
- Log in to comment
let mai_snr_deps.3382 = [2100, 39]
2100 is textobj-user and 39 is "matchit.zip", thus everything looks fine to me in current VAM-kr version.
Close or comment again, please