4
4
M.setup() *legendary.setup*
5
5
6
6
7
+ M.repeat_previous({ignore_filters}) *legendary.repeat_previous*
8
+ Repeat execution of the previously selected item. By default, only executes if the previously used filters
9
+ still return true.
10
+
11
+ Parameters: ~
12
+ {ignore_filters} (boolean|nil) whether to ignore the filters used when selecting the item, default false
13
+
14
+
7
15
M.find({opts} ) *legendary.find*
8
16
Find items using vim.ui.select()
9
17
@@ -44,14 +52,14 @@ M.autocmds({aus}) *legendary.autocmds*
44
52
Bind a *list of* autocmds and/or augroups
45
53
46
54
Parameters: ~
47
- {aus} (Autocmd|Augroup[] )
55
+ {aus} (table )
48
56
49
57
50
58
M.autocmd({au} ) *legendary.autocmd*
51
59
Bind a *single autocmd/augroup*
52
60
53
61
Parameters: ~
54
- {au} (Autocmd|Augroup )
62
+ {au} (table )
55
63
56
64
57
65
==============================================================================
@@ -159,7 +167,7 @@ Return a function that creates a new horizontal
159
167
split, then calls the given function.
160
168
161
169
Parameters: ~
162
- {fn} (function) The function to call after creating a spli
170
+ {fn} (function) The function to call after creating a split
163
171
164
172
Returns: ~
165
173
(function)
@@ -170,7 +178,7 @@ Return a function that creates a new vertical
170
178
split, then calls the given function.
171
179
172
180
Parameters: ~
173
- {fn} (function) The function to call after creating a spli
181
+ {fn} (function) The function to call after creating a split
174
182
175
183
Returns: ~
176
184
(function)
@@ -265,11 +273,11 @@ Returns: ~
265
273
266
274
267
275
M.set_marks({marks} ) *legendary.toolbox.set_marks*
268
- Set visual marks from a table in the forma
276
+ Set visual marks from a table in the format
269
277
{start_line, start_col, end_line, end_col}
270
278
271
279
Parameters: ~
272
- {marks} (Marks) the marks to se
280
+ {marks} (Marks) the marks to set
273
281
274
282
275
283
*legendary.toolbox.table_from_vimscript*
@@ -296,7 +304,7 @@ fun(items:LegendaryItem[],mode:string):string[]
296
304
297
305
298
306
M.default_format({item} ) *legendary.ui.format.default_format*
299
- Default forma
307
+ Default format
300
308
301
309
Parameters: ~
302
310
{item} (LegendaryItem)
@@ -329,37 +337,21 @@ Returns: ~
329
337
(string)
330
338
331
339
332
- ==============================================================================
333
- *legendary.integrations.which-key*
334
-
335
- *legendary.integrations.which-key.parse_whichkey*
336
- M.parse_whichkey({which_key_tbls}, {which_key_opts}, {do_binding})
337
- Take which-key.nvim tables
338
- and parse them into legendary.nvim tables
339
-
340
- Parameters: ~
341
- {which_key_tbls} (table[])
342
- {which_key_opts} (table)
343
- {do_binding} (boolean) whether to bind the keymaps or let which-key handle i
344
-
345
- Returns: ~
346
- (LegendaryItem[])
340
+ M.load_all() *M.load_all*
341
+ Load all extensions specified in legendary.nvim config
347
342
348
343
349
- *legendary.integrations.which-key.bind_whichkey*
350
- M.bind_whichkey({wk_tbls}, {wk_opts}, {do_binding})
351
- Bind a which-key.nvim table with legendary.nvim
344
+ *M.load_extension*
345
+ M.load_extension({extension_name}, {config} )
346
+ Load a single extension by name. If config is not provided,
347
+ it will be looked up in the legendary.nvim config.
352
348
353
349
Parameters: ~
354
- {wk_tbls} (table)
355
- {wk_opts} (table)
356
- {do_binding} (boolean) whether to bind the keymaps or let which-key handle i
350
+ {extension_name} (string)
351
+ {config} (any)
357
352
358
353
359
- *legendary.integrations.which-key.whichkey_listen*
360
- M.whichkey_listen()
361
- Enable auto-registering of which-key.nvim tables
362
- with legendary.nvim
354
+ M.pre_ui_hook() *M.pre_ui_hook*
363
355
364
356
365
357
vim:tw=78:ts=8:noet:ft=help:norl:
0 commit comments