Tuesday, October 15, 2019

Re: help to determine script type

Am 15.10.2019 um 04:00 schrieb sergio:
> Hello.
>
> I'd like to publish my first script on vim.org. It updates bindzone's
> serial on BufWrite. It's file type plugin, but not to be placed in
> ftplugin folder.

So it's a file type plugin that's not a file type plugin?

Eg you can do `:au Bindzone BufWrite <buffer> :...' from within an ftplugin script.
(with augroup Bindzone)

To just add functionality, you can name the file (eg)
ftplugin/bindzone_serial.vim

> What are the types "patch" and "utility" used for?
> Which type should I select: utility, patch or ftplugin?

To just add a global plugin: "utility".

--
Andy

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5DA5EE61.800%40yahoo.de.

No comments: