mirror of
https://github.com/neovim/neovim.git
synced 2026-07-17 14:41:33 +00:00
docs: misc #39256
This commit is contained in:
@@ -30,6 +30,15 @@
|
||||
--- ```lua
|
||||
--- vim.print(vim.fn.readblob('.git/config'))
|
||||
--- ```
|
||||
---
|
||||
--- [vim.fs.write()]()
|
||||
---
|
||||
--- You can use |writefile()| to write a file without explicitly opening/closing it.
|
||||
---
|
||||
--- Example:
|
||||
--- ```lua
|
||||
--- vim.fn.writefile('foo\0bar', 'data.bin', 'b')
|
||||
--- ```
|
||||
|
||||
local uv = vim.uv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user