Module buffer-closer
This module provides functions for setting up and configuring the buffer-closer plugin.
Functions
setup (user_opts) | Sets up the plugin with the user options. |
Functions
- setup (user_opts)
-
Sets up the plugin with the user options.
This function sets up the buffer-closer plugin with the given options.
Parameters:
- user_opts table or nil : The user options to apply to the plugin, it will replace the default options.
See also:
- buffer-closer.modules.commands.setup
- buffer-closer.modules.options.apply_user_options
- buffer-closer.modules.autocmd.setup
- buffer-closer.modules.timer.setup
Usage:
require('buffer-closer').setup({}) (replace
{}
with yourconfig
table)