chore: autogen (vimdocs+formating)

This commit is contained in:
shadmansaleh 2023-03-31 08:02:48 +00:00 committed by github-actions[bot]
parent 44a0fba867
commit 4bfc6bc4f3
2 changed files with 2 additions and 1 deletions

View File

@ -652,6 +652,7 @@ Component specific options These are options that are available on
-- 1: Relative path -- 1: Relative path
-- 2: Absolute path -- 2: Absolute path
-- 3: Absolute path, with tilde as the home directory -- 3: Absolute path, with tilde as the home directory
-- 4: Filename and parent dir, with tilde as the home directory
shorting_target = 40, -- Shortens path to leave 40 spaces in the window shorting_target = 40, -- Shortens path to leave 40 spaces in the window
-- for other components. (terrible name, any suggestions?) -- for other components. (terrible name, any suggestions?)

View File

@ -57,7 +57,7 @@ local function filename_and_parent(path, sep)
elseif #segments == 1 then elseif #segments == 1 then
return segments[#segments] return segments[#segments]
else else
return table.concat({segments[#segments - 1], segments[#segments]}, sep) return table.concat({ segments[#segments - 1], segments[#segments] }, sep)
end end
end end