-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resize Broot when Vim is resized (#14)
Fixes #13
- Loading branch information
Showing
9 changed files
with
187 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
require("broot").setup { | ||
config_files = { | ||
vim.fn.fnamemodify("tests/data/conf.toml", ":p"), | ||
vim.fn.fnamemodify("tests/data/nvim.toml", ":p"), | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
# No Git info. | ||
default_flags = "G" | ||
# Print the root as a relative path so it doesn't matter what directory you run | ||
# the tests in. | ||
root_relative_path = true |
51 changes: 51 additions & 0 deletions
51
tests/screenshots/tests-test_broot.lua---broot---can_resize
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--|---------|---------|---------|---------| | ||
01|. | ||
02|├──conf.toml | ||
03|├──doggy | ||
04|├──flavors | ||
05|│ ├──goldie | ||
06|│ ├──samoyed | ||
07|│ └──weenie | ||
08|├──nvim.toml | ||
09|└──puppy | ||
10| | ||
11| | ||
12| | ||
13| | ||
14| | ||
15| | ||
16| | ||
17| | ||
18| | ||
19| | ||
20| | ||
21| Hit e…r to go up, ? for h…, …l…s to s…h | ||
22| h:n gi:y | ||
23|[No Name] | ||
24|-- TERMINAL -- 1,1 Top | ||
|
||
--|---------|---------|---------|---------| | ||
01|0111111111111111111111111111111111111111 | ||
02|2223333333333333333333333333333333333333 | ||
03|2223333333333333333333333333333333333333 | ||
04|2224444444333333333333333333333333333333 | ||
05|2222223333333333333333333333333333333333 | ||
06|2222223333333333333333333333333333333333 | ||
07|2222223333333333333333333333333333333333 | ||
08|2223333333333333333333333333333333333333 | ||
09|2223333333333333333333333333333333333333 | ||
10|3333333333333333333333333333333333333333 | ||
11|3333333333333333333333333333333333333333 | ||
12|3333333333333333333333333333333333333333 | ||
13|3333333333333333333333333333333333333333 | ||
14|3333333333333333333333333333333333333333 | ||
15|3333333333333333333333333333333333333333 | ||
16|3333333333333333333333333333333333333333 | ||
17|3333333333333333333333333333333333333333 | ||
18|3333333333333333333333333333333333333333 | ||
19|3333333333333333333333333333333333333333 | ||
20|3333333333333333333333333333333333333333 | ||
21|5555567655555555555655555575575755555575 | ||
22|8999999999999999999999999999:::;:::::;:9 | ||
23|<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< | ||
24|==============>>>>>>>>>>>>>>>>>>>>>>>>>> |
96 changes: 48 additions & 48 deletions
96
tests/screenshots/tests-test_broot.lua---broot---can_use_directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
--|---------|---------|---------|---------|---------|---------|---------|---------| | ||
01|goldie | ||
02|~ | ||
03|~ | ||
04|~ | ||
05|~ | ||
06|~ | ||
07|~ | ||
08|~ | ||
09|~ | ||
10|~ | ||
11|~ | ||
12|~ | ||
13|~ | ||
14|~ | ||
15|~ | ||
16|~ | ||
17|~ | ||
18|~ | ||
19|~ | ||
20|~ | ||
21|~ | ||
22|~ | ||
23|goldie | ||
24| | ||
01|. | ||
02|├──goldie | ||
03|├──samoyed | ||
04|└──weenie | ||
05| | ||
06| | ||
07| | ||
08| | ||
09| | ||
10| | ||
11| | ||
12| | ||
13| | ||
14| | ||
15| | ||
16| | ||
17| | ||
18| | ||
19| | ||
20| | ||
21| Hit enter to go up, ? for help, or a few letters to search | ||
22| h:n gi:y | ||
23|[No Name] | ||
24|-- TERMINAL -- 1,0-1 All | ||
|
||
--|---------|---------|---------|---------|---------|---------|---------|---------| | ||
01|00000000000000000000000000000000000000000000000000000000000000000000000000000000 | ||
02|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
03|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
04|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
05|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
06|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
07|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
08|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
09|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
10|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
11|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
12|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
13|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
14|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
15|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
16|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
17|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
18|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
19|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
20|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
21|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
22|11111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
23|22222222222222222222222222222222222222222222222222222222222222222222222222222222 | ||
24|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
01|01111111111111111111111111111111111111111111111111111111111111111111111111111111 | ||
02|22233333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
03|22233333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
04|22233333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
05|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
06|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
07|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
08|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
09|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
10|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
11|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
12|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
13|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
14|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
15|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
16|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
17|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
18|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
19|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
20|33333333333333333333333333333333333333333333333333333333333333333333333333333333 | ||
21|44444555554444444444454444444444444444444444444444444444444444444444444444444444 | ||
22|67777777777777777777777777777777777777777777777777777777777777777777888988888983 | ||
23|:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | ||
24|;;;;;;;;;;;;;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters