Alexander Courtis
80d4f28383
feat( #1245 ): add next_diag_item and prev_diag_item actions
2022-07-03 16:04:49 +10:00
Rammiah
ec09b80c7b
fix(actions): close_node doesn't close for grouped node ( #1385 )
2022-07-01 15:49:31 +02:00
kiyan
5e900c2f29
refacto: tree explorer root should be absolute_path not cwd
2022-05-29 11:40:06 +02:00
Kiyan
6343813a35
feat(live-filter): add ability to live filter out nodes in the tree ( #1056 )
2022-05-17 10:03:49 +02:00
Alexander Courtis
82ec79aac5
#1216 show diagnostic signs on all folders ( #1244 )
2022-05-10 11:22:11 +10:00
kiyan
82a646225f
fix(parent node): do not close folder when should_close is false
2022-05-08 13:30:57 +02:00
Kiyan
d8aad37997
fix(close-node): do not close parent when current node is open ( #1239 )
2022-05-08 11:38:05 +02:00
Kiyan
db873b340d
chore(diagnostics): move updates to renderer ( #1218 )
...
should address #1216
2022-05-07 11:14:32 +02:00
kiyan
428898154f
chore: lib can be required directly in movements.lua
2022-04-30 16:41:26 +02:00
Andreas Bissinger
a94f5bf776
fix: correct line when moving in tree ( #1200 )
2022-04-26 21:10:27 +02:00
kiyan
95a5c2d4bc
fix: add parent ref to nodes
...
also refactor movement go to parent
fixes #1148
2022-04-21 20:39:14 +02:00
kiyan
1831417f05
refacto: add get_nodes_starting_line core util
2022-03-26 14:46:44 +01:00
kiyan
471afc13fe
refacto: abstract TreeExplorer in core.lua
2022-03-09 22:01:54 +01:00
kiyan
144bce74a5
refacto: move renderer git into file
...
also view.is_root_folder_modifier_visible don't take the tree as
parameter
2022-03-09 21:32:15 +01:00
Andreas Bissinger
d5a12ac9db
fix: correct index in movement actions ( #1058 )
2022-03-09 09:03:22 +01:00
Kiyan
0816064a8b
chore: add stylua to format the codebase, and run on CI ( #1055 )
2022-03-06 17:33:30 +01:00
Alexander Courtis
ce3604d33c
#972 bug: prev_git_item with hijack_cursor selects icon instead of previous file ( #1025 )
2022-02-28 21:31:23 +01:00
kiyan
95c331ce32
fix: revert git item movement direction
...
fixes #971
2022-02-13 12:16:55 +01:00
kiyan
525042317e
fix: lint issues
2022-02-09 22:29:34 +01:00
kiyan
4fc9cb1da3
chore: move code around
...
- deprecate config.lua file
- move icon config code into renderer/icons
- move file opening config in open-file.lua
2022-02-09 22:26:02 +01:00
kiyan
ea92e7bf7c
refacto: set tree explorer in the global state
...
also remove the redraw method and use renderer.draw immediately
2022-02-07 22:07:08 +01:00
kiyan
47ccc2913f
refacto: move toggle help and filter toggles into actions
...
also fix explorer to properly remove element on update when filter is
applied
2022-02-07 20:43:24 +01:00
kiyan
923e034668
refacto: sort actions declaration, remove close from main file
...
fixes #921
- use view.close instead of nvim-tree.close
- put preview code inside the execution logic on keypress
- sort keys in keypress_funcs
- remove empty buffer when hijacking window
2022-02-06 19:25:23 +01:00
kiyan
4a9e53143b
refacto: ubiquitous language renaming
...
BREAKING
- rename all 'entry' to 'node' or '_node' if shadowing
- rename all 'entries' to 'nodes'
2022-02-05 18:10:09 +01:00
kiyan
95e3aacc01
chore: reindent sibling function
2022-02-05 17:13:51 +01:00
kiyan
8c4fd519b6
chore(refacto): move parent and sibling functions into actions
...
BREAKING CHANGE:
- move parent_node and sibling functions from lib to
actions/movements.lua.
2022-02-05 17:08:11 +01:00