Benjamin Haskell wrote: > (The following assumes I haven't missed something about the Vim > development process during my extended absence from vim-{dev/use}.) > > On Thu, Aug 21, 2014 at 3:39 PM, Bram Moolenaar <b...@moolenaar.net> wrote: > > > > Lokesh Mandvekar wrote: > > > >> I was hoping syntax highlighting for docker could be included by > >> default in vim. The files can be found here: > >> https://github.com/docker/docker/tree/master/contrib/syntax/vim > >> > >> Would the BSD license cause any trouble in this matter? > > > > I prefer the author sending the file to me, so that it's explicit that > > it is OK to include in the distribution. > > > > I don't see a License statement in the file itself. I would have to > > include the LICENSE file somehow. > > > > /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ > > As with the Docker Zsh completion file that just got included in > upstream Zsh, I'd prefer that this doesn't make it into Vim "proper". > Including it in another project just makes changes harder to > propagate. Instead of taking just a pull request against the Docker > repo, a change goes through the idiosyncratic (and slower) Vim runtime > files change process (which apparently still involves emailing files > in the year 2014). > > I think the state of the Vim ecosystem would be much better if: > > 1. Vim shipped with (or at least advocated the use of) a reasonable > plugin/addon/package manager > - This would at least discourage the poor manageability of "Just > untar this into ~/.vim" > > 2. Vim didn't distribute (m/)any language-/tool-specific addons > - They contribute to the amount of maintenance work Bram has to do > - They detract from the amount of work that can be done on core Vim > - They can't be updated as easily as they can if developed independently > - They're subject to Vim's licensing (... kind of?). (At a > minimum, licensing has to be considered. In the separately-developed > scenario, it's simply not a concern.) > - They're weirdly tied to a single (point of failure) author. > > 3. Projects (like Docker) that have Vim files would set them up in a > way usable by (a) Vim plugin manager(s). > - "Via pathogen, the usual way..."¹ seems a bit glib/useless > > #'s 1 and 2 are obviously out-of-scope for this Docker-specific > request. But #3 should be easily achievable, AFAICT: > > My preferred plugin manager, Vundle², for example, makes installing > the Docker syntax files as simple³ as adding one of the following to > `.vimrc` or equivalent: > > ``` > " if installing from scratch: > Plugin 'docker/docker', {'rtp': 'contrib/syntax/vim/'} > > " if you already have `docker/docker` checked out: > Plugin 'file:///home/bhaskell/git/docker/contrib/syntax/vim' > ```
A little while ago I asked what the best plugin manager was, and there was no clear answer. And in my opinion there is not one that can be included with Vim that has all the features that most users want. Several people worked on a plugin manager to cover their own needs, none of them is "complete". Anyway, we still need to include the most ofen used filetype support in Vim itself, so that when you install Vim you can go ahead editing files without doing lots of setup work. On top of that, more than 50% of the times I get new runtime files I have to ask the author to improve something. -- Don't read everything you believe. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.