Chapel: Support Vundle for vim-chapel plugin

Created on 21 Jul 2017  路  8Comments  路  Source: chapel-lang/chapel

Vundle, the popular vim plugin manager, only supports installing vim plugins from a git repository, e.g. vim-fugitive.

To support this, we could host a repository containing the contents of chapel/highlight/vim/ so that users could install Chapel vim support with the following in their ~/.vimrc:

Plugin 'chapel-lang/vim-chapel'

One obvious downside of this is the maintenance issue, as we'd need to propagate updates from chapel-lang/chapel to chapel-lang/vim-chapel on a per-release granularity.

Tools good first issue Feature Request

All 8 comments

The lack of Vundle support was brought up in #6785

@ben-albrecht should we knock this out?

@dmk42 making sure you can see this issue, I'm planning to knock it out soon unless there are objections

No objections here, thanks.

The team has decided that this project would be best handled by a member of the community using a repository outside the chapel-lang namespace.

When such a repository is created and usable by Vundle, directions for installation should be included in the main repo.

  • [ ] create a new repository for Vundle users to enable Chapel highlighting
  • [ ] update highlight/vim/README.rst with Vundle instructions

We could actually support Vundle by adding .git information to highlight/vim/ so that it is able to git clone $CHPL_HOME/highlight/vim.

We wouldn't want to check this .git directory into our repository as a git submodule, so we'd keep it packed up, and instruct users to unpack it if they want to use Vundle.

I double checked that this works here, but am not sure if it's a direction we want to take. I haven't heard any requests for Vundle support since @buddha314 asked (which inspired me to open this issue), and he has since found the light and moved on to vim-plug 馃憤

If Vundle is getting supplanted by vim-plug, I would support closing this issue just to tidy up. If some future person is really motivated to do Vundle for Chapel, they'll find this issue and do it themselves.

I think we can leave this open for interested contributors to find, with the task being "Create and maintain a git repository for Chapel.vim as a Vundle plugin."

Was this page helpful?
0 / 5 - 0 ratings