12 lines
211 B
Lua
12 lines
211 B
Lua
local fs = {}
|
|
|
|
local function startswith(string, start)
|
|
return string:sub(1, #start) == start
|
|
end
|
|
|
|
function fs.getCurrentPath()
|
|
local currentBuffer = vim.fn.expand("%")
|
|
print(currentBuffer)
|
|
end
|
|
|
|
return fs
|