mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
Merge #34541 docs
This commit is contained in:
@@ -935,7 +935,7 @@ do
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd('VimEnter', {
|
||||
group = vim.api.nvim_create_augroup('nvim.find_exrc', {}),
|
||||
group = vim.api.nvim_create_augroup('nvim.exrc', {}),
|
||||
desc = 'Find exrc files in parent directories',
|
||||
callback = function()
|
||||
if not vim.o.exrc then
|
||||
|
||||
4
runtime/lua/vim/_meta/api.lua
generated
4
runtime/lua/vim/_meta/api.lua
generated
@@ -159,7 +159,7 @@ function vim.api.nvim__unpack(str) end
|
||||
--- @return integer
|
||||
function vim.api.nvim_buf_add_highlight(buffer, ns_id, hl_group, line, col_start, col_end) end
|
||||
|
||||
--- Activates buffer-update events on a channel, or as Lua callbacks.
|
||||
--- Activates `api-buffer-updates` events on a channel, or as Lua callbacks.
|
||||
---
|
||||
--- Example (Lua): capture buffer updates in a global `events` variable
|
||||
--- (use "vim.print(events)" to see its contents):
|
||||
@@ -575,7 +575,7 @@ function vim.api.nvim_buf_line_count(buffer) end
|
||||
--- EOL of a line, continue the highlight for the rest
|
||||
--- of the screen line (just like for diff and
|
||||
--- cursorline highlight).
|
||||
--- - virt_text : virtual text to link to this mark.
|
||||
--- - virt_text : [](virtual-text) to link to this mark.
|
||||
--- A list of `[text, highlight]` tuples, each representing a
|
||||
--- text chunk with specified highlight. `highlight` element
|
||||
--- can either be a single highlight group, or an array of
|
||||
|
||||
2
runtime/lua/vim/_meta/vimfn.lua
generated
2
runtime/lua/vim/_meta/vimfn.lua
generated
@@ -1863,7 +1863,7 @@ function vim.fn.exp(expr) end
|
||||
--- <abuf> autocmd buffer number (as a String!)
|
||||
--- <amatch> autocmd matched name
|
||||
--- <cexpr> C expression under the cursor
|
||||
--- <sfile> sourced script file or function name
|
||||
--- <sfile> deprecated, use <script> or <stack>
|
||||
--- <slnum> sourced script line number or function
|
||||
--- line number
|
||||
--- <sflnum> script file line number, also when in
|
||||
|
||||
Reference in New Issue
Block a user