mirror of
https://github.com/neovim/neovim.git
synced 2026-03-29 03:42:11 +00:00
feat(lua): replace buffer with buf in vim.keymap.set/del #38360
The `buffer` option remains functional but is now undocumented. Providing both will raise an error. Since providing `buf` was disallowed before, there is no code that will break due to using `buffer` alongside `buf`.
This commit is contained in:
2
runtime/lua/vim/_meta/api.lua
generated
2
runtime/lua/vim/_meta/api.lua
generated
@@ -2018,7 +2018,7 @@ function vim.api.nvim_parse_expression(expr, flags, highlight) end
|
||||
--- line2
|
||||
--- line3
|
||||
--- ]], false, -1)
|
||||
--- end, { buffer = true })
|
||||
--- end, { buf = true })
|
||||
--- ```
|
||||
---
|
||||
--- @param data string Multiline input. Lines break at LF ("\n"). May be binary (containing NUL bytes).
|
||||
|
||||
Reference in New Issue
Block a user