mirror of
https://github.com/stevearc/aerial.nvim
synced 2024-09-16 14:34:08 +02:00
doc: use the new language-aware code blocks
This commit is contained in:
parent
5b0a45c927
commit
01d63e5599
3 changed files with 7 additions and 7 deletions
2
.github/generate.py
vendored
2
.github/generate.py
vendored
|
@ -116,7 +116,7 @@ def get_options_vimdoc() -> "VimdocSection":
|
|||
section = VimdocSection("options", "aerial-options")
|
||||
config_file = os.path.join(ROOT, "lua", "aerial", "config.lua")
|
||||
opt_lines = read_section(config_file, r"^local default_options =", r"^}$")
|
||||
lines = ["\n", ">\n", ' require("aerial").setup({\n']
|
||||
lines = ["\n", ">lua\n", ' require("aerial").setup({\n']
|
||||
lines.extend(indent(opt_lines, 4))
|
||||
lines.extend([" })\n", "<\n"])
|
||||
section.body = lines
|
||||
|
|
2
.github/nvim_doc_tools
vendored
2
.github/nvim_doc_tools
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 6dd96ce8a44cb3e86be4135e21e7ec28b18dc4af
|
||||
Subproject commit 26159ec6033087fda70b69d66337e7b28bc1ceee
|
|
@ -3,15 +3,15 @@
|
|||
--------------------------------------------------------------------------------
|
||||
CONTENTS *aerial-contents*
|
||||
|
||||
1. Options..................................................|aerial-options|
|
||||
2. Commands................................................|aerial-commands|
|
||||
3. Api..........................................................|aerial-api|
|
||||
4. Notes......................................................|aerial-notes|
|
||||
1. Options |aerial-options|
|
||||
2. Commands |aerial-commands|
|
||||
3. Api |aerial-api|
|
||||
4. Notes |aerial-notes|
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
OPTIONS *aerial-options*
|
||||
|
||||
>
|
||||
>lua
|
||||
require("aerial").setup({
|
||||
-- Priority list of preferred backends for aerial.
|
||||
-- This can be a filetype map (see :help aerial-filetype-map)
|
||||
|
|
Loading…
Reference in a new issue