Per Andersson wrote:
>>>> I intend to package vimerl for Debian (current WIP).
>>>>
>>>> I suggest that ftplugin, indent, and syntax parts of vimerl should
>>>> be included in Vim, and then I will package the rest of vimerl
>>>> (autoload, compiler, and plugin) for Debian.  (The parts autoload
>>>> and compiler has Erlang code in them and I assume that is out of
>>>> scope for Vim.)

Bram Moolenaar wrote:
>>> To include files with the Vim distribution the maintainer has to send
>>> the file to me.  All the files you appear to fall under the normal
>>> runtime files, except perhaps the plugin.

Ricardo Catalinas wrote:
>> I am the Vimerl[1] maintainer, I attached ftplugin, indent and syntax.
>> As Per explained, the other parts of the plugin depend on Erlang or
>> don't fit the Vim runtime.
>>
>> [1] http://github.com/jimenezrick/vimerl

Bram Moolenaar wrote:
> There already is an Erlang syntax and indent file.  Maintainer is Csaba
> Hoch.  Can you please get in touch and merg the files?

Hi,

About the indent file: The indent file in vimerl is the improved
version of the indent file currently in Vim (written by me), so that
will be easy to merge. I will check that the changes have no bad
effects and afterwards I will send the new version to this mailing
list.

About the syntax file: The syntax file in vimerl was written by Oscar
Hellström from scratch AFAIK, so it is quite different from the syntax
file currently in Vim (written originally by Kresimir Marzic and is
now maintained by me). I would advise against replacing the syntax
file, because changing the Erlang syntax highlight drastically would
be a negative user experience. The two files could be compared though
and the current Vim version could be improved by ideas from the other.

About the ftplugin file: Currently Vim has no ftplugin file for
Erlang. The ftplugin file of vimerl sets some options, but it contains
mostly folding code. I think it can be added to Vim, but not
unchanged. I have two suggestions:

1. Don't turn on folding on by default. The plugin does that now, but
   this should not be done by any ftplugin shipped with Vim. I think
   the best solution would be to set foldexpr but not to set foldmethod.
   This way the user will be able to turn it on with a simple
   "set foldmethod=expr" command.

2. Remove this line:

       setlocal omnifunc=erlang_complete#Complete"

   If we don't add autoload/erlang_complete.vim, which actually implements this
   function, this function should not be used.

My general suggestion is the following:
- I check the indent file.
- Someone from the Vimerl team modifies the ftplugin file to be
  standalone and change only the settings that are also commonly set
  by other ftplugin files.

Csaba

-- 
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

Raspunde prin e-mail lui