Commit Graph

18 Commits

Author SHA1 Message Date
kiyan
19dcacf06e chore: cleanup change dir module 2022-07-03 12:41:13 +02:00
Kiyan
db873b340d chore(diagnostics): move updates to renderer (#1218)
should address #1216
2022-05-07 11:14:32 +02:00
Alexander Courtis
2c71ffcc0d add actions.change_dir.restrict_above_cwd (#1171) 2022-04-23 10:45:23 +02:00
Alexander Courtis
0f0f858348 #1157 update lsp diagnostics when the tree state is changed (#1174) 2022-04-18 15:46:42 +02:00
kiyan
1831417f05 refacto: add get_nodes_starting_line core util 2022-03-26 14:46:44 +01:00
Alexander Courtis
54c78dbca2 #791 add profiling for some operations (#1108) 2022-03-26 13:22:28 +01:00
kiyan
471afc13fe refacto: abstract TreeExplorer in core.lua 2022-03-09 22:01:54 +01:00
Kiyan
0816064a8b chore: add stylua to format the codebase, and run on CI (#1055) 2022-03-06 17:33:30 +01:00
Grzegorz Rozdzialik
0fcd6614b5 feat: allow not changing the cwd when changing directories (#1019) 2022-02-22 21:39:12 +01:00
kiyan
58b81ed9e6 refacto: remove rendering from lib.init 2022-02-20 23:01:25 +01:00
kiyan
9008bac180 hotfix: force redraw when changing directory 2022-02-20 22:23:37 +01:00
kiyan
ad2802d9c4 fix: do not update cwd when changing window 2022-02-14 19:43:57 +01:00
Kiyan
6da7467944 refacto: buffer management, setup fixes, autocmd fixes (#967) 2022-02-14 19:16:45 +01:00
kiyan
0f7da146bf chore: add guards to prepare setup refactoring 2022-02-11 11:06:11 +01:00
Steve Vermeulen
da59247db9 Fixed some trailing slash bugs (#957)
* Fixed issue where user would have to trigger dir-up action multiple times to get it to work

* Fix to path_join to ensure the result does not have a double slash
2022-02-10 08:56:05 +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
1fe29f8eef chore: move g:nvim_tree_quit_on_open into open_file action config 2022-02-05 18:42:08 +01:00
kiyan
f74dd24c58 refacto: move some code into actions
(non breaking, old assignments link to new assignments)
- move lib.collapse-all into actions/collapse-all
- move lib.dir-up into actions/dir-up
- move lib.change-dir into actions/change-dir
- use setup option for change-dir global (and use the old option for
  setup)
2022-02-05 17:42:40 +01:00