diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2025-06-05 11:31:51 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2025-06-06 15:36:48 +0100 |
| commit | 3b6084ddf4f0d49fb0e5d135919c9daacea2a46d (patch) | |
| tree | c46454da48ec05e345c953f4e172e52dff8bef52 /runtime/lua/vim/secure.lua | |
| parent | 4c333fdbb7bee299f36624b429f5c065470e421d (diff) | |
| download | rneovim-3b6084ddf4f0d49fb0e5d135919c9daacea2a46d.tar.gz rneovim-3b6084ddf4f0d49fb0e5d135919c9daacea2a46d.tar.bz2 rneovim-3b6084ddf4f0d49fb0e5d135919c9daacea2a46d.zip | |
fix: type fixes
Type fixes caught by emmylua
Diffstat (limited to 'runtime/lua/vim/secure.lua')
| -rw-r--r-- | runtime/lua/vim/secure.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/secure.lua b/runtime/lua/vim/secure.lua index 169214871a..c3731bf595 100644 --- a/runtime/lua/vim/secure.lua +++ b/runtime/lua/vim/secure.lua @@ -27,8 +27,8 @@ end --- If {fullpath} is a directory, then nothing is read from the filesystem, and --- `contents = true` and `hash = "directory"` is returned instead. --- ----@param fullpath (string) Path to a file or directory to read. ----@param bufnr (number?) The number of the buffer. +---@param fullpath string Path to a file or directory to read. +---@param bufnr integer? The number of the buffer. ---@return string|boolean? contents the contents of the file, or true if it's a directory ---@return string? hash the hash of the contents, or "directory" if it's a directory local function compute_hash(fullpath, bufnr) |