> Hi,
>
> I would like to propose that a commenting plugin be shipped with Vim
> by default. Having tried a few of these, I have found the NERD
> Commenter plugin to be the most extensive and widely used, supporting
> a horde of programming languages.
How does this look like? I don't use comments that often and I don't
want Vim to load read lines which are used occasionally only.
It also has a design flaw:
a)
The NERD commenting plugin file is > 3000 lines of code to be sourced at
each startup of Vim.
b)
You can only add comment style and an alternative one.
However there are languages which support 3 comment styles such as PHP:
#, /* .. */ and //.
This doesn't change the fact that this plugin probably is the best
plugin which is available at the moment.
Francis: Until the ships with Vim I recommend you having a look at my
vim-addon-manager plugin. It makes installing plugins that easy that you
can stop worrying about whether a plugin is included in a Vim
distribution.
So I vote for at least moving most code into an autoload file before
distributing it along with Vim.
Marc Weber
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment