Skip to content

Commit b0e8f0b

Browse files
chore(build): auto-generate docs
1 parent 6fd9991 commit b0e8f0b

6 files changed

Lines changed: 29 additions & 116 deletions

File tree

docs/extras/editor/leap.md

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -17,84 +17,6 @@ They are only shown here for reference.
1717
import Tabs from '@theme/Tabs';
1818
import TabItem from '@theme/TabItem';
1919

20-
## [flit.nvim](https://github.com/ggandor/flit.nvim)
21-
22-
easily jump to any location and enhanced f/t motions for Leap
23-
24-
25-
<Tabs>
26-
27-
<TabItem value="opts" label="Options">
28-
29-
```lua
30-
opts = { labeled_modes = "nx" }
31-
```
32-
33-
</TabItem>
34-
35-
36-
<TabItem value="code" label="Full Spec">
37-
38-
```lua
39-
{
40-
"ggandor/flit.nvim",
41-
enabled = true,
42-
keys = function()
43-
---@type LazyKeysSpec[]
44-
local ret = {}
45-
for _, key in ipairs({ "f", "F", "t", "T" }) do
46-
ret[#ret + 1] = { key, mode = { "n", "x", "o" } }
47-
end
48-
return ret
49-
end,
50-
opts = { labeled_modes = "nx" },
51-
}
52-
```
53-
54-
</TabItem>
55-
56-
</Tabs>
57-
58-
## [leap.nvim](https://github.com/ggandor/leap.nvim)
59-
60-
<Tabs>
61-
62-
<TabItem value="opts" label="Options">
63-
64-
```lua
65-
opts = {}
66-
```
67-
68-
</TabItem>
69-
70-
71-
<TabItem value="code" label="Full Spec">
72-
73-
```lua
74-
{
75-
"ggandor/leap.nvim",
76-
enabled = true,
77-
keys = {
78-
{ "s", mode = { "n", "x", "o" }, desc = "Leap Forward to" },
79-
{ "S", mode = { "n", "x", "o" }, desc = "Leap Backward to" },
80-
{ "gs", mode = { "n", "x", "o" }, desc = "Leap from Windows" },
81-
},
82-
config = function(_, opts)
83-
local leap = require("leap")
84-
for k, v in pairs(opts) do
85-
leap.opts[k] = v
86-
end
87-
leap.add_default_mappings(true)
88-
vim.keymap.del({ "x", "o" }, "x")
89-
vim.keymap.del({ "x", "o" }, "X")
90-
end,
91-
}
92-
```
93-
94-
</TabItem>
95-
96-
</Tabs>
97-
9820
## [vim-repeat](https://github.com/tpope/vim-repeat)
9921

10022
makes some plugins dot-repeatable like leap

docs/extras/editor/overseer.md

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,16 @@ import TabItem from '@theme/TabItem';
2727
opts = {
2828
dap = false,
2929
task_list = {
30-
bindings = {
31-
["<C-h>"] = false,
30+
keymaps = {
3231
["<C-j>"] = false,
3332
["<C-k>"] = false,
34-
["<C-l>"] = false,
3533
},
3634
},
3735
form = {
3836
win_opts = {
3937
winblend = 0,
4038
},
4139
},
42-
confirm = {
43-
win_opts = {
44-
winblend = 0,
45-
},
46-
},
4740
task_win = {
4841
win_opts = {
4942
winblend = 0,
@@ -60,41 +53,27 @@ opts = {
6053
```lua
6154
{
6255
"stevearc/overseer.nvim",
56+
lazy = false, -- plugin is self-lazy-loading
6357
cmd = {
6458
"OverseerOpen",
6559
"OverseerClose",
6660
"OverseerToggle",
67-
"OverseerSaveBundle",
68-
"OverseerLoadBundle",
69-
"OverseerDeleteBundle",
70-
"OverseerRunCmd",
7161
"OverseerRun",
72-
"OverseerInfo",
73-
"OverseerBuild",
74-
"OverseerQuickAction",
7562
"OverseerTaskAction",
76-
"OverseerClearCache",
7763
},
7864
opts = {
7965
dap = false,
8066
task_list = {
81-
bindings = {
82-
["<C-h>"] = false,
67+
keymaps = {
8368
["<C-j>"] = false,
8469
["<C-k>"] = false,
85-
["<C-l>"] = false,
8670
},
8771
},
8872
form = {
8973
win_opts = {
9074
winblend = 0,
9175
},
9276
},
93-
confirm = {
94-
win_opts = {
95-
winblend = 0,
96-
},
97-
},
9877
task_win = {
9978
win_opts = {
10079
winblend = 0,
@@ -103,13 +82,9 @@ opts = {
10382
},
10483
-- stylua: ignore
10584
keys = {
106-
{ "<leader>ow", "<cmd>OverseerToggle<cr>", desc = "Task list" },
107-
{ "<leader>oo", "<cmd>OverseerRun<cr>", desc = "Run task" },
108-
{ "<leader>oq", "<cmd>OverseerQuickAction<cr>", desc = "Action recent task" },
109-
{ "<leader>oi", "<cmd>OverseerInfo<cr>", desc = "Overseer Info" },
110-
{ "<leader>ob", "<cmd>OverseerBuild<cr>", desc = "Task builder" },
111-
{ "<leader>ot", "<cmd>OverseerTaskAction<cr>", desc = "Task action" },
112-
{ "<leader>oc", "<cmd>OverseerClearCache<cr>", desc = "Clear cache" },
85+
{ "<leader>ow", "<cmd>OverseerToggle!<cr>", desc = "Task list" },
86+
{ "<leader>oo", "<cmd>OverseerRun<cr>", desc = "Run task" },
87+
{ "<leader>ot", "<cmd>OverseerTaskAction<cr>", desc = "Task action" },
11388
},
11489
}
11590
```

docs/extras/lang/elixir.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ opts = {
3333
function()
3434
local params = vim.lsp.util.make_position_params()
3535
LazyVim.lsp.execute({
36+
title = "toPipe",
37+
filter = "elixirls",
3638
command = "manipulatePipes:serverid",
3739
arguments = { "toPipe", params.textDocument.uri, params.position.line, params.position.character },
3840
})
@@ -44,6 +46,8 @@ opts = {
4446
function()
4547
local params = vim.lsp.util.make_position_params()
4648
LazyVim.lsp.execute({
49+
title = "fromPipe",
50+
filter = "elixirls",
4751
command = "manipulatePipes:serverid",
4852
arguments = { "fromPipe", params.textDocument.uri, params.position.line, params.position.character },
4953
})
@@ -73,6 +77,8 @@ opts = {
7377
function()
7478
local params = vim.lsp.util.make_position_params()
7579
LazyVim.lsp.execute({
80+
title = "toPipe",
81+
filter = "elixirls",
7682
command = "manipulatePipes:serverid",
7783
arguments = { "toPipe", params.textDocument.uri, params.position.line, params.position.character },
7884
})
@@ -84,6 +90,8 @@ opts = {
8490
function()
8591
local params = vim.lsp.util.make_position_params()
8692
LazyVim.lsp.execute({
93+
title = "fromPipe",
94+
filter = "elixirls",
8795
command = "manipulatePipes:serverid",
8896
arguments = { "fromPipe", params.textDocument.uri, params.position.line, params.position.character },
8997
})

docs/extras/lang/typescript.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ opts = {
124124
{
125125
"<leader>cV",
126126
function()
127-
LazyVim.lsp.execute({ command = "typescript.selectTypeScriptVersion" })
127+
LazyVim.lsp.execute({
128+
title = "Select TypeScript Version",
129+
filter = "vtsls",
130+
command = "typescript.selectTypeScriptVersion",
131+
})
128132
end,
129133
desc = "Select TS workspace version",
130134
},
@@ -328,7 +332,11 @@ opts = {
328332
{
329333
"<leader>cV",
330334
function()
331-
LazyVim.lsp.execute({ command = "typescript.selectTypeScriptVersion" })
335+
LazyVim.lsp.execute({
336+
title = "Select TypeScript Version",
337+
filter = "vtsls",
338+
command = "typescript.selectTypeScriptVersion",
339+
})
332340
end,
333341
desc = "Select TS workspace version",
334342
},

docs/extras/lang/typst.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ opts = {
6464
local buf_name = vim.api.nvim_buf_get_name(0)
6565
local file_name = vim.fn.fnamemodify(buf_name, ":t")
6666
LazyVim.lsp.execute({
67+
title = "Pin Main",
68+
filter = "tinymist",
6769
command = "tinymist.pinMain",
6870
arguments = { buf_name },
6971
})
@@ -99,6 +101,8 @@ opts = {
99101
local buf_name = vim.api.nvim_buf_get_name(0)
100102
local file_name = vim.fn.fnamemodify(buf_name, ":t")
101103
LazyVim.lsp.execute({
104+
title = "Pin Main",
105+
filter = "tinymist",
102106
command = "tinymist.pinMain",
103107
arguments = { buf_name },
104108
})

docs/keymaps.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ Part of [lazyvim.plugins.extras.editor.illuminate](/extras/editor/illuminate)
481481
| <code>[[</code> | Prev Reference | **n** |
482482
| <code>]]</code> | Next Reference | **n** |
483483

484-
## [leap.nvim](https://github.com/ggandor/leap.nvim.git)
484+
## [leap.nvim](https://codeberg.org/andyg/leap.nvim.git)
485485
Part of [lazyvim.plugins.extras.editor.leap](/extras/editor/leap)
486486

487487
| Key | Description | Mode |
@@ -524,11 +524,7 @@ Part of [lazyvim.plugins.extras.editor.overseer](/extras/editor/overseer)
524524

525525
| Key | Description | Mode |
526526
| --- | --- | --- |
527-
| <code>&lt;leader&gt;ob</code> | Task builder | **n** |
528-
| <code>&lt;leader&gt;oc</code> | Clear cache | **n** |
529-
| <code>&lt;leader&gt;oi</code> | Overseer Info | **n** |
530527
| <code>&lt;leader&gt;oo</code> | Run task | **n** |
531-
| <code>&lt;leader&gt;oq</code> | Action recent task | **n** |
532528
| <code>&lt;leader&gt;ot</code> | Task action | **n** |
533529
| <code>&lt;leader&gt;ow</code> | Task list | **n** |
534530

0 commit comments

Comments
 (0)