Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dir_display_limit #89

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kawre
Copy link

@kawre kawre commented Sep 2, 2023

New feature to limit the number of directories to display.
Especially useful when working with something like Spring Boot, where just the directory name takes more than 50% of my screen real estate.

lua/barbecue/ui/components.lua Outdated Show resolved Hide resolved
@kawre
Copy link
Author

kawre commented Sep 13, 2023

Changed the type to integer and added ellipsis symbol to indicate that the directories have been split. Also unsure how to handle the protocol prefix. Do you have any ideas?

@utilyre
Copy link
Owner

utilyre commented Sep 16, 2023

Honestly, it's been a while since I used this plugin myself. So just be sure that nothing breaks.

Cases that I recommend testing:

  1. Relative file paths (especially when there is a ./some.txt or ../some.txt)
  2. Absolute file paths (they should have a / entry at the beginning)
  3. URLs should have a http:// entry at the beginning (http is just an example it should handle any given schema like tcp://, https://, or mycustomschema://)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants