mirror of
https://github.com/neovim/neovim.git
synced 2025-12-12 09:32:39 +00:00
docs: getpos, getregion, lsp
This commit is contained in:
@@ -9,6 +9,15 @@
|
||||
--- vim.print('file exists')
|
||||
--- end
|
||||
--- <
|
||||
---
|
||||
--- *vim.fs.read()*
|
||||
--- You can use |readblob()| to get a file's contents without explicitly opening/closing it.
|
||||
---
|
||||
--- Example:
|
||||
---
|
||||
--- >lua
|
||||
--- vim.print(vim.fn.readblob('.git/config'))
|
||||
--- <
|
||||
|
||||
local uv = vim.uv
|
||||
|
||||
|
||||
Reference in New Issue
Block a user