Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 23, 2024
1 parent b51b986 commit dc42806
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions doc/autoclose.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,14 @@ You can pass your config table into the `setup()` function.

KEYS ~

The available options in `keys` -`close`If set to true, pressing the character
will insert both the opening and closing characters, and place the cursor in
between them. - `escape`If set to true, pressing the character again will
escape it instead of inserting a closing character. - `pair`The string that
represents the pair of opening and closing characters. This should be a
two-character string, with the opening character first and the closing
character second. - `disabled_filetypes`Table of filetypes where the specific
key should not be autoclosed. - `enabled_filetypes`Only autoclose the key under
these filetypes. This option takes precedence over `disabled_filetypes`. -
`disable_command_mode`If set to true, the character will be disabled in
command-line mode.
The available options in `keys`

- `close`If set to true, pressing the character will insert both the opening and closing characters, and place the cursor in between them.
- `escape`If set to true, pressing the character again will escape it instead of inserting a closing character.
- `pair`The string that represents the pair of opening and closing characters. This should be a two-character string, with the opening character first and the closing character second.
- `disabled_filetypes`Table of filetypes where the specific key should not be autoclosed.
- `enabled_filetypes`Only autoclose the key under these filetypes. This option takes precedence over `disabled_filetypes`.
- `disable_command_mode`If set to true, the character will be disabled in command-line mode.

Example: Add a `$$` pair.

Expand All @@ -79,9 +76,11 @@ Example: Remove the escape function of `>`.

OPTIONS ~

The available options in `options` -`disabled_filetypes`The plugin will be
disabled under the filetypes in this table. - type of the value: table of
strings - default value: `{ "text" }`
The available options in `options`

- `disabled_filetypes`The plugin will be disabled under the filetypes in this table.
- type of the value: table of strings
- default value: `{ "text" }`

Example: Disable the plugin in text and markdown file.

Expand Down

0 comments on commit dc42806

Please sign in to comment.