mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
feat(docs): "yxx" runs Lua/Vimscript code examples #31904
`yxx` in Normal mode over a Lua or Vimscript code block section will execute the code. Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
@ -959,7 +959,7 @@ do
|
||||
--- function vim.startswith(s, prefix)
|
||||
--- vim.validate('s', s, 'string')
|
||||
--- vim.validate('prefix', prefix, 'string')
|
||||
--- ...
|
||||
--- -- ...
|
||||
--- end
|
||||
--- ```
|
||||
---
|
||||
@ -979,7 +979,7 @@ do
|
||||
--- age={age, 'number'},
|
||||
--- hobbies={hobbies, 'table'},
|
||||
--- }
|
||||
--- ...
|
||||
--- -- ...
|
||||
--- end
|
||||
--- ```
|
||||
---
|
||||
|
Reference in New Issue
Block a user