style(incline.lua): fix indentation and formatting for better code readability

feat(incline.lua): add hide option to hide cursorline in the setup configuration
feat(incline.lua): improve path shortening logic for long lines in the render function
This commit is contained in:
David Ibia
2024-03-13 13:35:48 +01:00
parent a36964cd5c
commit e86c79c0f4

View File

@@ -12,6 +12,9 @@ local function shortenPath(str, max)
end
incline.setup({
hide = {
cursorline = true,
},
window = {
padding = 0,
margin = { horizontal = 0 },