From 3b6084ddf4f0d49fb0e5d135919c9daacea2a46d Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Thu, 5 Jun 2025 11:31:51 +0100 Subject: fix: type fixes Type fixes caught by emmylua --- runtime/lua/vim/secure.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/lua/vim/secure.lua') 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) -- cgit