Skip to content

Commit 31f2ff2

Browse files
committed
chore(build): auto-generate vimdoc
1 parent 1b39e7d commit 31f2ff2

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

doc/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ copyright 2023 license GNU General Public License v3.0 @class astrocore
9292

9393
```lua
9494
function astrotheme.lib.util.get_highlights(colors: AstroThemePalette, opts: AstroThemeOpts)
95-
-> table<string, vim.api.keyset.highlight>
95+
-> AstroThemeHighlights
9696
```
9797

9898
Compile all highlights given a configuration
@@ -102,7 +102,7 @@ function astrotheme.lib.util.get_highlights(colors: AstroThemePalette, opts: Ast
102102

103103
```lua
104104
function astrotheme.lib.util.get_module_highlights(colors: AstroThemePalette, opts: AstroThemeOpts, module: string)
105-
-> table<string, vim.api.keyset.highlight>?
105+
-> AstroThemeHighlights?
106106
```
107107

108108
Compile highlights from a module
@@ -140,7 +140,7 @@ function astrotheme.lib.util.reload_module(module: string, bool: boolean)
140140

141141

142142
```lua
143-
function astrotheme.lib.util.set_highlights(highlights: table<string, vim.api.keyset.highlight>)
143+
function astrotheme.lib.util.set_highlights(highlights: AstroThemeHighlights)
144144
```
145145

146146
Set highlights in Neovim

doc/astrotheme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ GET_HIGHLIGHTS ~
445445

446446
>lua
447447
function astrotheme.lib.util.get_highlights(colors: AstroThemePalette, opts: AstroThemeOpts)
448-
-> table<string, vim.api.keyset.highlight>
448+
-> AstroThemeHighlights
449449
<
450450

451451
Compile all highlights given a configuration
@@ -455,7 +455,7 @@ GET_MODULE_HIGHLIGHTS ~
455455

456456
>lua
457457
function astrotheme.lib.util.get_module_highlights(colors: AstroThemePalette, opts: AstroThemeOpts, module: string)
458-
-> table<string, vim.api.keyset.highlight>?
458+
-> AstroThemeHighlights?
459459
<
460460

461461
Compile highlights from a module
@@ -493,7 +493,7 @@ Reload a module
493493
SET_HIGHLIGHTS ~
494494

495495
>lua
496-
function astrotheme.lib.util.set_highlights(highlights: table<string, vim.api.keyset.highlight>)
496+
function astrotheme.lib.util.set_highlights(highlights: AstroThemeHighlights)
497497
<
498498

499499
Set highlights in Neovim

0 commit comments

Comments
 (0)