This commit is contained in:
Justin M. Keyes
2026-04-25 11:16:18 -04:00
committed by GitHub
parent cb6c4cadf5
commit b70224e3bd
23 changed files with 183 additions and 89 deletions

View File

@@ -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