diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2023-08-24 13:29:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 13:29:40 +0100 |
commit | daf7abbc4238dc269e22dd431bc4b1627ef9b6a1 (patch) | |
tree | 2f4c1c126c012adb16fd4eabf36a6dda00c60268 /scripts/gen_eval_files.lua | |
parent | 53170579ce14ccbd777ab36a25a230a27aa4f7bd (diff) | |
download | rneovim-daf7abbc4238dc269e22dd431bc4b1627ef9b6a1.tar.gz rneovim-daf7abbc4238dc269e22dd431bc4b1627ef9b6a1.tar.bz2 rneovim-daf7abbc4238dc269e22dd431bc4b1627ef9b6a1.zip |
docs(builtin): small fixes (#24861)
Also make gen_eval_files.lua render vimdoc helpExamples properly if the line
begins with the `>` marker.
Diffstat (limited to 'scripts/gen_eval_files.lua')
-rwxr-xr-x | scripts/gen_eval_files.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen_eval_files.lua b/scripts/gen_eval_files.lua index e41054ed65..f8d69ce313 100755 --- a/scripts/gen_eval_files.lua +++ b/scripts/gen_eval_files.lua @@ -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 |