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:
Sean Dewar
2023-08-24 13:29:40 +01:00
committed by GitHub
parent 53170579ce
commit daf7abbc42
4 changed files with 10 additions and 11 deletions

View File

@@ -3853,7 +3853,7 @@ function vim.fn.globpath(path, expr, nosuf, list, allinks) end
--- clipboard |clipboard| provider is available.
--- fname_case Case in file names matters (for Darwin and MS-Windows
--- this is not present).
--- gui_running Nvim has a GUI.
--- gui_running Nvim has a GUI.
--- iconv Can use |iconv()| for conversion.
--- linux Linux system.
--- mac MacOS system.
@@ -8765,7 +8765,7 @@ function vim.fn.srand(expr) end
--- added. E.g, this checks if the screen has scrolled: >vim
--- if state('s') == ''
--- " screen has not scrolled
---
--- <
--- These characters indicate the state, generally indicating that
--- something is busy:
--- m halfway a mapping, :normal command, feedkeys() or
@@ -9446,7 +9446,6 @@ function vim.fn.synIDtrans(synID) end
--- synconcealed(lnum, 4) [1, 'X', 2]
--- synconcealed(lnum, 5) [1, 'X', 2]
--- synconcealed(lnum, 6) [0, '', 0]
--- <
---
--- @param lnum integer
--- @param col integer