mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
docs(builtin): small fixes (#24861)
Also make gen_eval_files.lua render vimdoc helpExamples properly if the line begins with the `>` marker.
This commit is contained in:
@@ -437,6 +437,8 @@ local function render_eval_doc(f, fun, write)
|
||||
l = l:gsub('^ ', '')
|
||||
if vim.startswith(l, '<') and not l:match('^<[^ \t]+>') then
|
||||
write('<\t\t' .. l:sub(2))
|
||||
elseif l:match('^>[a-z0-9]*$') then
|
||||
write(l)
|
||||
else
|
||||
write('\t\t' .. l)
|
||||
end
|
||||
|
Reference in New Issue
Block a user