mirror of
https://github.com/neovim/neovim
synced 2025-07-15 16:51:49 +00:00
docs: api, pack, events, develop
This commit is contained in:
@ -858,13 +858,13 @@ local CONFIG = {
|
||||
'\t\t NVIM REFERENCE MANUAL',
|
||||
'',
|
||||
'',
|
||||
'Vimscript functions\t*vimscript-functions* *builtin-functions* *builtin.txt*',
|
||||
'Vimscript functions\t\t\t*vimscript-functions* *builtin.txt*',
|
||||
'',
|
||||
'For functions grouped by what they are used for see |function-list|.',
|
||||
'',
|
||||
'\t\t\t\t Type |gO| to see the table of contents.',
|
||||
'==============================================================================',
|
||||
'1. Details *builtin-function-details*',
|
||||
'1. Details *vimscript-functions-details*',
|
||||
'',
|
||||
},
|
||||
footer = {
|
||||
|
@ -88,8 +88,9 @@ local new_layout = {
|
||||
-- Map of new:old pages, to redirect renamed pages.
|
||||
local redirects = {
|
||||
['credits'] = 'backers',
|
||||
['tui'] = 'term',
|
||||
['terminal'] = 'nvim_terminal_emulator',
|
||||
['tui'] = 'term',
|
||||
['api-ui-events'] = 'ui',
|
||||
}
|
||||
|
||||
-- TODO: These known invalid |links| require an update to the relevant docs.
|
||||
@ -1343,7 +1344,10 @@ This document moved to: |%s|
|
||||
local redirect_to = ('%s/%s'):format(to_dir, get_helppage(redirect_from))
|
||||
local redirect_html, _ =
|
||||
gen_one(redirect_from, redirect_text, redirect_to, false, commit or '?', parser_path)
|
||||
assert(redirect_html:find(helpfile_tag))
|
||||
assert(
|
||||
redirect_html:find(vim.pesc(helpfile_tag)),
|
||||
('not found in redirect html: %s'):format(helpfile_tag)
|
||||
)
|
||||
tofile(redirect_to, redirect_html)
|
||||
|
||||
print(
|
||||
|
@ -157,8 +157,7 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||
target_link_libraries(nvim_bin PRIVATE "-framework CoreServices")
|
||||
|
||||
# Actually export symbols - symbols may not be visible even though
|
||||
# ENABLE_EXPORTS is set to true. See
|
||||
# https://github.com/neovim/neovim/issues/25295
|
||||
# ENABLE_EXPORTS is set. https://github.com/neovim/neovim/issues/25295
|
||||
target_link_options(nvim_bin PRIVATE "-Wl,-export_dynamic")
|
||||
elseif(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||||
target_link_libraries(main_lib INTERFACE pthread c++abi)
|
||||
|
@ -3564,8 +3564,7 @@ M.funcs = {
|
||||
Return zero otherwise.
|
||||
If {expr} is 1, only check if a character is available, it is
|
||||
not consumed. Return zero if no character available.
|
||||
If you prefer always getting a string use |getcharstr()|, or
|
||||
specify |FALSE| as "number" in {opts}.
|
||||
To always get a string, specify "number" as |FALSE| in {opts}.
|
||||
|
||||
Without {expr} and when {expr} is 0 a whole character or
|
||||
special key is returned. If it is a single character, the
|
||||
|
@ -903,10 +903,10 @@ local options = {
|
||||
help help buffer (do not set this manually)
|
||||
nofile buffer is not related to a file, will not be written
|
||||
nowrite buffer will not be written
|
||||
prompt buffer where only the last section can be edited, for
|
||||
use by plugins. |prompt-buffer|
|
||||
quickfix list of errors |:cwindow| or locations |:lwindow|
|
||||
terminal |terminal-emulator| buffer
|
||||
prompt buffer where only the last line can be edited, meant
|
||||
to be used by a plugin, see |prompt-buffer|
|
||||
|
||||
This option is used together with 'bufhidden' and 'swapfile' to
|
||||
specify special kinds of buffers. See |special-buffers|.
|
||||
|
Reference in New Issue
Block a user