Simplifies installation into vim with a plugin - #907
Conversation
| Plug 'fables-tales/rubyfmt', { 'rtp': 'editor_plugins/vim' } | ||
| ``` | ||
|
|
||
| Native packages: |
There was a problem hiding this comment.
I don't know about vim native packages, does this work for users who do not use plug?
There was a problem hiding this comment.
I'm by no means a vim-plugin expert. My understanding is that tools like vim-plug, pathogen, etc, all handle the "fetching of code and putting it in place" while vim itself handles loading of the plugin through the autoload system or the packs system. Using vim-plug or pathogen benefits the user in that they're able to run one command and take updates to all the packages installed.
So the instructions for installing without a plugin tool are simply to download the plugin itself and place it in the correct place. The formatting and placement of the files within the plugin is standardized by vim itself.
That said, I tested these instructions both with the plug pattern and the native package and saw the tool work correctly in both cases.
Hi there!
I've tweaked the vim integration a small amount just to allow it to be installed from the git repo instead of needing to clone locally. I've updated the readme instructions as well. Now, pointing this at my fork, I'm able to install the rubyfmt vim extension without manually sourcing the config and overriding the path.
I'm able to:
brew install rubyfmtPlug 'robacarp/rubyfmt', { 'rtp': 'editor_plugins/vim', 'branch': 'vim-plugin' }And I have a working configuration. Hopefully this contribution is welcome, I believe it'll make using the tool much easier for vim-natives.