Andy Wokula wrote:

> Am 09.11.2017 um 20:46 schrieb Bram Moolenaar:
> > Patch 8.0.1281
> > Problem:    Loading file type detection slows down startup.
> > Solution:   Move functions to an autoload script.
> > Files:      runtime/filetype.vim, runtime/autoload/filetype.vim,
> >              runtime/scripts.vim
> 
> Can we have a dedicated folder for autoload scripts shipped with Vim?
> .... for the sake of avoiding name clashes.
> Eg autoload/vi/ is short and seems to be unused (more likely to be unused 
> than autoload/vim/).
> 
> I think a missing dedicated folder is biggest impediment
> for shipping more functionality in autoload scripts.

Hmm, I suppose we can do that.  We can use "dist", since we already use
that elsewhere.

The function names are getting a bit long: "dist#filetype#Check_inp()".
I suppose there is no problem with using a bit more cryptic name:
"dist#ft#Check_inp()".

-- 
Bad programs can be written in any language.

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui