mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-14 18:10:28 +00:00
13 lines
226 B
Lua
13 lines
226 B
Lua
local Path = require("plenary.path")
|
|
|
|
local M = {}
|
|
function M.normalize_path(item)
|
|
return Path:new(item):make_relative(M.project_key())
|
|
end
|
|
|
|
function M.is_white_space(str)
|
|
return str:gsub("%s", "") == ""
|
|
end
|
|
|
|
return M
|