Skip to content

Simplifies installation into vim with a plugin - #907

Merged
fables-tales merged 2 commits into
fables-tales:trunkfrom
robacarp:vim-plugin
Jun 11, 2026
Merged

Simplifies installation into vim with a plugin#907
fables-tales merged 2 commits into
fables-tales:trunkfrom
robacarp:vim-plugin

Conversation

@robacarp

@robacarp robacarp commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

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 rubyfmt
  • and add this to my vim-plugin list: Plug '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.

@reese
reese requested a review from fables-tales June 2, 2026 18:29
Comment thread README.md
Plug 'fables-tales/rubyfmt', { 'rtp': 'editor_plugins/vim' }
```

Native packages:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about vim native packages, does this work for users who do not use plug?

@robacarp robacarp Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@reese
reese requested a review from fables-tales June 10, 2026 23:40
@fables-tales
fables-tales merged commit 5e478d5 into fables-tales:trunk Jun 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants