-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
============================================================================== | ||
------------------------------------------------------------------------------ | ||
*YourPluginName.options* | ||
`YourPluginName.options` | ||
Your plugin configuration with its default values. | ||
|
||
Default values: | ||
> | ||
YourPluginName.options = { | ||
-- Prints useful logs about what event are triggered, and reasons actions are executed. | ||
debug = false, | ||
} | ||
< | ||
|
||
------------------------------------------------------------------------------ | ||
*YourPluginName.setup()* | ||
`YourPluginName.setup`({options}) | ||
Define your your-plugin-name setup. | ||
|
||
Parameters~ | ||
{options} `(table)` Module config table. See |YourPluginName.options|. | ||
|
||
Usage~ | ||
`require("your-plugin-name").setup()` (add `{}` with your |YourPluginName.options| table) | ||
|
||
|
||
============================================================================== | ||
------------------------------------------------------------------------------ | ||
*YourPluginName.toggle()* | ||
`YourPluginName.toggle`() | ||
Toggle the plugin by calling the `enable`/`disable` methods respectively. | ||
|
||
------------------------------------------------------------------------------ | ||
*YourPluginName.enable()* | ||
`YourPluginName.enable`() | ||
A method to enable your plugin. | ||
|
||
------------------------------------------------------------------------------ | ||
*YourPluginName.disable()* | ||
`YourPluginName.disable`() | ||
A method to disable your plugin. | ||
|
||
|
||
vim:tw=78:ts=8:noet:ft=help:norl: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
YourPluginName.disable() neovim-plugin-boilerplate.txt /*YourPluginName.disable()* | ||
YourPluginName.enable() neovim-plugin-boilerplate.txt /*YourPluginName.enable()* | ||
YourPluginName.options neovim-plugin-boilerplate.txt /*YourPluginName.options* | ||
YourPluginName.setup() neovim-plugin-boilerplate.txt /*YourPluginName.setup()* | ||
YourPluginName.toggle() neovim-plugin-boilerplate.txt /*YourPluginName.toggle()* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters