refactor(nvim): fix annotaton for get_program_path
in dap
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m5s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m5s
This commit is contained in:
parent
e86c88c54e
commit
3b83d4d9a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user