Commit Graph

16 Commits

Author SHA1 Message Date
Alexander Courtis
3ba383d591 chore/remove globals (#1279)
* remove renderer globals: nvim_tree_add_trailing nvim_tree_highlight_opened_files nvim_tree_root_folder_modifier nvim_tree_special_files

* remove renderer globals: nvim_tree_icon_padding

* remove renderer globals: nvim_tree_symlink_arrow

* remove renderer globals: nvim_tree_show_icons, nvim_tree_show_icons

* remove renderer globals: nvim_tree_git_hl

* remove renderer globals: nvim_tree_group_empty

* remove renderer globals: respect_buf_cwd

* remove renderer globals: nvim_tree_create_in_closed_folder

* remove globals: consistency in legacy checks

* remove renderer globals: nvim_tree_special_files

* renderer.icons.symbols -> glyphs
2022-05-28 11:08:40 +10:00
Andreas Bissinger
9066cbf3f7 feat: add file completion (#1163) 2022-04-18 15:36:55 +02:00
Michael
fc925d814a fix: add spaces to prompts and blankline to rename output (#1154) 2022-04-11 09:47:23 +02:00
kiyan
618ea25613 fix: clear prompt when creating file
fixes #1138
2022-04-06 13:37:17 +02:00
baahrens
7b0ebf8b17 feat: Use vim.ui.input for rename and create (#1097) 2022-03-22 20:28:58 +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
kiyan
f977e5c05a refacto: make git module interface to wait for job to finish
allows simplify the explore/reload/find/initialization by making the
whole code synchronous. No more callback needed.
2022-02-21 19:12:16 +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
23c95a674f chore: move refresh/reloaders into actions.reloaders 2022-02-06 16:24:14 +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
3936829088 fix(file creation): containing folder offset in input 2022-02-05 17:12:05 +01:00
kiyan
52dd0402de chore: extract functions initialization in create-file 2022-02-05 13:57:13 +01:00
kiyan
192b2266f7 fix: synchronous file creation
allows cursor to be set when finishing
fixes #806
2022-02-05 13:01:37 +01:00
kiyan
2b2bf0721d refacto: move keypress to actions/init 2022-01-21 12:07:54 +01:00
kiyan
45671e94be refacto: extract create_file into actions module 2022-01-21 11:45:52 +01:00