From 3b83d4d9a2f8d40941cd9958ea0925af65223589 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 14 Jul 2024 21:58:52 -0500 Subject: [PATCH] refactor(nvim): fix annotaton for `get_program_path` in dap --- users/price/dots/.config/nvim/lua/plugins/configs/dap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/dap.lua b/users/price/dots/.config/nvim/lua/plugins/configs/dap.lua index e77d2758..1d1688c5 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/dap.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/dap.lua @@ -138,7 +138,7 @@ return { --- Gets a path for a given program in the environment ---@param program string String of a program in the Mason packages - ---@return Path Full path to the program if found, or nil if not + ---@return string Full path to the program if found, or nil if not local function get_program_path(program) local program_path = vim.fn.stdpath("data") .. "/mason/packages/" .. program .. "/" .. program return program_path