Skip to content

Commit bed5cc7

Browse files
committed
(all) Use universally ~ to indicate help section heading.
1 parent 30d527d commit bed5cc7

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

doc/mini-cursorword.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Features:
1717
- "Word under cursor" is meant as in Vim's |<cword>|: something user would
1818
get as 'iw' text object.
1919

20-
# Setup~
20+
# Setup ~
2121

2222
This module needs a setup with `require('mini.cursorword').setup({})`
2323
(replace `{}` with your `config` table). It will create global Lua table
@@ -30,7 +30,7 @@ You can override runtime config settings locally to buffer inside
3030
`vim.b.minicursorword_config` which should have same structure as
3131
`MiniCursorword.config`. See |mini.nvim-buffer-local-config| for more details.
3232

33-
# Highlight groups~
33+
# Highlight groups ~
3434

3535
* `MiniCursorword` - highlight group of a non-current cursor word.
3636
Default: plain underline.
@@ -44,7 +44,7 @@ You can override runtime config settings locally to buffer inside
4444

4545
To change any highlight group, modify it directly with |:highlight|.
4646

47-
# Disabling~
47+
# Disabling ~
4848

4949
To disable core functionality, set `vim.g.minicursorword_disable` (globally) or
5050
`vim.b.minicursorword_disable` (for a buffer) to `true`. Considering high
@@ -82,10 +82,10 @@ Module-specific disabling:
8282
`MiniCursorword.setup`({config})
8383
Module setup
8484

85-
Parameters~
85+
Parameters ~
8686
{config} `(table|nil)` Module config table. See |MiniCursorword.config|.
8787

88-
Usage~
88+
Usage ~
8989
`require('mini.cursorword').setup({})` (replace `{}` with your `config` table)
9090

9191
------------------------------------------------------------------------------

lua/mini/cursorword.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
--- - "Word under cursor" is meant as in Vim's |<cword>|: something user would
1818
--- get as 'iw' text object.
1919
---
20-
--- # Setup~
20+
--- # Setup ~
2121
---
2222
--- This module needs a setup with `require('mini.cursorword').setup({})`
2323
--- (replace `{}` with your `config` table). It will create global Lua table
@@ -30,7 +30,7 @@
3030
--- `vim.b.minicursorword_config` which should have same structure as
3131
--- `MiniCursorword.config`. See |mini.nvim-buffer-local-config| for more details.
3232
---
33-
--- # Highlight groups~
33+
--- # Highlight groups ~
3434
---
3535
--- * `MiniCursorword` - highlight group of a non-current cursor word.
3636
--- Default: plain underline.
@@ -44,7 +44,7 @@
4444
---
4545
--- To change any highlight group, modify it directly with |:highlight|.
4646
---
47-
--- # Disabling~
47+
--- # Disabling ~
4848
---
4949
--- To disable core functionality, set `vim.g.minicursorword_disable` (globally) or
5050
--- `vim.b.minicursorword_disable` (for a buffer) to `true`. Considering high

0 commit comments

Comments
 (0)