Module colorizer.usercmds

This module provides functions for creating user commands for the Colorizer plugin in Neovim.

It allows the creation of commands to attach, detach, reload, and toggle the Colorizer functionality on buffers.

Functions

make (cmds) Create user commands for Colorizer based on the given command list.


Functions

make (cmds)
Create user commands for Colorizer based on the given command list. This function defines and registers Colorizer commands based on the provided list. Available commands are: - `ColorizerAttachToBuffer`: Attaches Colorizer to the current buffer - `ColorizerDetachFromBuffer`: Detaches Colorizer from the current buffer - `ColorizerReloadAllBuffers`: Reloads Colorizer for all buffers - `ColorizerToggle`: Toggles Colorizer attachment to the buffer

Parameters:

  • cmds table|boolean A list of command names to create or `true` to create all available commands
generated by LDoc 1.5.0 Last updated - December