chore: autogen (vimdocs+formating)
This commit is contained in:
parent
44a0fba867
commit
4bfc6bc4f3
|
@ -652,6 +652,7 @@ Component specific options These are options that are available on
|
|||
-- 1: Relative path
|
||||
-- 2: Absolute path
|
||||
-- 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
|
||||
-- for other components. (terrible name, any suggestions?)
|
||||
|
|
|
@ -57,7 +57,7 @@ local function filename_and_parent(path, sep)
|
|||
elseif #segments == 1 then
|
||||
return segments[#segments]
|
||||
else
|
||||
return table.concat({segments[#segments - 1], segments[#segments]}, sep)
|
||||
return table.concat({ segments[#segments - 1], segments[#segments] }, sep)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue