mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
fix(docs): invalid :help links #20345
Fix those naughty single quotes. closes #20159
This commit is contained in:
@@ -599,7 +599,7 @@ void nvim_del_autocmd(Integer id, Error *err)
|
||||
}
|
||||
|
||||
/// Clear all autocommands that match the corresponding {opts}. To delete
|
||||
/// a particular autocmd, see |nvim_del_autocmd|.
|
||||
/// a particular autocmd, see |nvim_del_autocmd()|.
|
||||
/// @param opts Parameters
|
||||
/// - event: (string|table)
|
||||
/// Examples:
|
||||
@@ -728,7 +728,7 @@ Integer nvim_create_augroup(uint64_t channel_id, String name, Dict(create_augrou
|
||||
///
|
||||
/// To get a group id one can use |nvim_get_autocmds()|.
|
||||
///
|
||||
/// NOTE: behavior differs from |augroup-delete|. When deleting a group, autocommands contained in
|
||||
/// NOTE: behavior differs from |:augroup-delete|. When deleting a group, autocommands contained in
|
||||
/// this group will also be deleted and cleared. This group will no longer exist.
|
||||
/// @param id Integer The id of the group.
|
||||
/// @see |nvim_del_augroup_by_name()|
|
||||
@@ -746,10 +746,10 @@ void nvim_del_augroup_by_id(Integer id, Error *err)
|
||||
|
||||
/// Delete an autocommand group by name.
|
||||
///
|
||||
/// NOTE: behavior differs from |augroup-delete|. When deleting a group, autocommands contained in
|
||||
/// NOTE: behavior differs from |:augroup-delete|. When deleting a group, autocommands contained in
|
||||
/// this group will also be deleted and cleared. This group will no longer exist.
|
||||
/// @param name String The name of the group.
|
||||
/// @see |autocommand-groups|
|
||||
/// @see |autocmd-groups|
|
||||
void nvim_del_augroup_by_name(String name, Error *err)
|
||||
FUNC_API_SINCE(9)
|
||||
{
|
||||
|
@@ -393,7 +393,7 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id, Object start, Object e
|
||||
/// multiple highlight groups that will be stacked
|
||||
/// (highest priority last). A highlight group can be supplied
|
||||
/// either as a string or as an integer, the latter which
|
||||
/// can be obtained using |nvim_get_hl_id_by_name|.
|
||||
/// can be obtained using |nvim_get_hl_id_by_name()|.
|
||||
/// - virt_text_pos : position of virtual text. Possible values:
|
||||
/// - "eol": right after eol character (default)
|
||||
/// - "overlay": display over the specified column, without
|
||||
@@ -430,7 +430,7 @@ Array nvim_buf_get_extmarks(Buffer buffer, Integer ns_id, Object start, Object e
|
||||
/// column of the window, bypassing
|
||||
/// sign and number columns.
|
||||
///
|
||||
/// - ephemeral : for use with |nvim_set_decoration_provider|
|
||||
/// - ephemeral : for use with |nvim_set_decoration_provider()|
|
||||
/// callbacks. The mark will only be used for the current
|
||||
/// redraw cycle, and not be permantently stored in the
|
||||
/// buffer.
|
||||
@@ -958,7 +958,7 @@ void nvim_buf_clear_namespace(Buffer buffer, Integer ns_id, Integer line_start,
|
||||
/// being triggered during the redraw code.
|
||||
///
|
||||
/// The expected usage is to set extmarks for the currently
|
||||
/// redrawn buffer. |nvim_buf_set_extmark| can be called to add marks
|
||||
/// redrawn buffer. |nvim_buf_set_extmark()| can be called to add marks
|
||||
/// on a per-window or per-lines basis. Use the `ephemeral` key to only
|
||||
/// use the mark for the current screen redraw (the callback will be called
|
||||
/// again for the next redraw ).
|
||||
|
@@ -147,7 +147,7 @@ Object nvim_get_option_value(String name, Dict(option) *opts, Error *err)
|
||||
/// @param name Option name
|
||||
/// @param value New option value
|
||||
/// @param opts Optional parameters
|
||||
/// - scope: One of 'global' or 'local'. Analogous to
|
||||
/// - scope: One of "global" or "local". Analogous to
|
||||
/// |:setglobal| and |:setlocal|, respectively.
|
||||
/// - win: |window-ID|. Used for setting window local option.
|
||||
/// - buf: Buffer number. Used for setting buffer local option.
|
||||
@@ -202,7 +202,7 @@ void nvim_set_option_value(String name, Object value, Dict(option) *opts, Error
|
||||
/// Gets the option information for all options.
|
||||
///
|
||||
/// The dictionary has the full option names as keys and option metadata
|
||||
/// dictionaries as detailed at |nvim_get_option_info|.
|
||||
/// dictionaries as detailed at |nvim_get_option_info()|.
|
||||
///
|
||||
/// @return dictionary of all options
|
||||
Dictionary nvim_get_all_options_info(Error *err)
|
||||
|
@@ -160,8 +160,8 @@ Dictionary nvim__get_hl_defs(Integer ns_id, Arena *arena, Error *err)
|
||||
/// - nocombine: boolean
|
||||
/// - link: name of another highlight group to link to, see |:hi-link|.
|
||||
/// - default: Don't override existing definition |:hi-default|
|
||||
/// - ctermfg: Sets foreground of cterm color |highlight-ctermfg|
|
||||
/// - ctermbg: Sets background of cterm color |highlight-ctermbg|
|
||||
/// - ctermfg: Sets foreground of cterm color |ctermfg|
|
||||
/// - ctermbg: Sets background of cterm color |ctermbg|
|
||||
/// - cterm: cterm attribute map, like |highlight-args|. If not set,
|
||||
/// cterm attributes will match those from the attribute map
|
||||
/// documented above.
|
||||
@@ -185,7 +185,7 @@ void nvim_set_hl(Integer ns_id, String name, Dict(highlight) *val, Error *err)
|
||||
}
|
||||
|
||||
/// Set active namespace for highlights. This can be set for a single window,
|
||||
/// see |nvim_win_set_hl_ns|.
|
||||
/// see |nvim_win_set_hl_ns()|.
|
||||
///
|
||||
/// @param ns_id the namespace to use
|
||||
/// @param[out] err Error details, if any
|
||||
@@ -205,7 +205,7 @@ void nvim_set_hl_ns(Integer ns_id, Error *err)
|
||||
/// Set active namespace for highlights while redrawing.
|
||||
///
|
||||
/// This function meant to be called while redrawing, primarily from
|
||||
/// |nvim_set_decoration_provider| on_win and on_line callbacks, which
|
||||
/// |nvim_set_decoration_provider()| on_win and on_line callbacks, which
|
||||
/// are allowed to change the namespace during a redraw cycle.
|
||||
///
|
||||
/// @param ns_id the namespace to activate
|
||||
@@ -523,7 +523,7 @@ Array nvim__runtime_inspect(void)
|
||||
|
||||
/// Find files in runtime directories
|
||||
///
|
||||
/// 'name' can contain wildcards. For example
|
||||
/// "name" can contain wildcards. For example
|
||||
/// nvim_get_runtime_file("colors/*.vim", true) will return all color
|
||||
/// scheme files. Always use forward slashes (/) in the search pattern for
|
||||
/// subdirectories regardless of platform.
|
||||
@@ -964,7 +964,7 @@ fail:
|
||||
/// mode. Note: keypresses are sent raw as they would be to the pty
|
||||
/// master end. For instance, a carriage return is sent
|
||||
/// as a "\r", not as a "\n". |textlock| applies. It is possible
|
||||
/// to call |nvim_chan_send| directly in the callback however.
|
||||
/// to call |nvim_chan_send()| directly in the callback however.
|
||||
/// ["input", term, bufnr, data]
|
||||
/// @param[out] err Error details, if any
|
||||
/// @return Channel id, or 0 on error
|
||||
@@ -1452,7 +1452,7 @@ ArrayOf(Dictionary) nvim_get_keymap(String mode)
|
||||
/// @param rhs Right-hand-side |{rhs}| of the mapping.
|
||||
/// @param opts Optional parameters map: keys are |:map-arguments|, values are booleans (default
|
||||
/// false). Accepts all |:map-arguments| as keys excluding |<buffer>| but including
|
||||
/// |noremap| and "desc". Unknown key is an error.
|
||||
/// |:noremap| and "desc". Unknown key is an error.
|
||||
/// "desc" can be used to give a description to the mapping.
|
||||
/// When called from Lua, also accepts a "callback" key that takes a Lua function to
|
||||
/// call when the mapping is executed.
|
||||
|
@@ -109,7 +109,7 @@
|
||||
/// is changed to `auto` and 'colorcolumn' is cleared. The
|
||||
/// end-of-buffer region is hidden by setting `eob` flag of
|
||||
/// 'fillchars' to a space char, and clearing the
|
||||
/// |EndOfBuffer| region in 'winhighlight'.
|
||||
/// |hl-EndOfBuffer| region in 'winhighlight'.
|
||||
/// - border: Style of (optional) window border. This can either be a string
|
||||
/// or an array. The string values are
|
||||
/// - "none": No border (default).
|
||||
|
@@ -340,7 +340,7 @@ Boolean nvim_win_is_valid(Window window)
|
||||
///
|
||||
/// Like |:hide| the buffer becomes hidden unless another window is editing it,
|
||||
/// or 'bufhidden' is `unload`, `delete` or `wipe` as opposed to |:close| or
|
||||
/// |nvim_win_close|, which will close the buffer.
|
||||
/// |nvim_win_close()|, which will close the buffer.
|
||||
///
|
||||
/// @param window Window handle, or 0 for current window
|
||||
/// @param[out] err Error details, if any
|
||||
|
Reference in New Issue
Block a user