mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
docs: render @since
versions, 0 means experimental #30649
An implication of this current approach is that `NVIM_API_LEVEL` should be bumped when a new Lua function is added. TODO(future): add a lint check which requires `@since` on all new functions. ref #25416
This commit is contained in:
@ -11,8 +11,8 @@ local function md_to_vimdoc(text, start_indent, indent, text_width)
|
||||
start_indent = start_indent or 0
|
||||
indent = indent or 0
|
||||
text_width = text_width or 70
|
||||
local text_utils = require('scripts/text_utils')
|
||||
return text_utils.md_to_vimdoc(table.concat(text, '\n'), start_indent, indent, text_width)
|
||||
local util = require('scripts/util')
|
||||
return util.md_to_vimdoc(table.concat(text, '\n'), start_indent, indent, text_width)
|
||||
]],
|
||||
text,
|
||||
start_indent,
|
||||
|
Reference in New Issue
Block a user