Commit Graph

602 Commits

Author SHA1 Message Date
kiyan
3936829088 fix(file creation): containing folder offset in input 2022-02-05 17:12:05 +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
kiyan
96650c801f BREAKING: rename populate -> explorer
- rename populate.lua to explorer.lua
- rename refresh_entries to refresh in explorer.lua
- rename populate to explore in explorer.lua
2022-02-05 16:56:42 +01:00
kiyan
067525a1fa chore(doc): remove old unused hl groups
fixes #804
2022-02-05 16:51:50 +01:00
kiyan
4af3104d78 fix(git): properly assign git status to directories
fixes #869
fixes #854
2022-02-05 14:42:11 +01:00
kiyan
5697dc4fcf fix: typo in view for focused file
fixes #782
2022-02-05 14:04:58 +01:00
kiyan
52dd0402de chore: extract functions initialization in create-file 2022-02-05 13:57:13 +01:00
kiyan
c74c44d80b fix: remove unused config from doc
closes #820
2022-02-05 13:15:22 +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
9880c22ace fix: do not error out when opening with swapfile
fixes #880
2022-02-05 12:42:22 +01:00
Lopi-py
99d65afd6e fix: update diagnostic icon when a node is closed 2022-02-01 09:17:09 +01:00
Pavel
0bc8258529 fix: parent_node offset when hide_root_folder is true (#912) 2022-01-31 09:17:40 +01:00
Alexandr Makurin
af3337879d Fix git icons on files and folders in subfolders (#911) 2022-01-31 09:06:36 +01:00
Raafat Turki
6eebc10ed8 fix(actions) trashing (#916) 2022-01-31 09:04:48 +01:00
kiyan
2dfed89af7 chore: remove unused require 2022-01-21 16:13:49 +01:00
kiyan
b5c2e52ed0 fix(actions): help, close and custom only
fixes #908
2022-01-21 15:56:29 +01:00
kiyan
00807d7bd5 fix: find_node offset when hide_root_folder is true
fixes #843
2022-01-21 12:55:07 +01:00
kiyan
da302ea3b1 fix(actions): remove nvim_tree_callback from edit_no_picker 2022-01-21 12:37:47 +01:00
kiyan
724716ec2e fix(doc): remove tree_cb from edit_no_picker 2022-01-21 12:36:45 +01:00
Sander van Harmelen
14bdf134f9 Add a mode that allows edit without the picker (#873) 2022-01-21 12:36:28 +01:00
Sander van Harmelen
1ac3502290 Add a config option to use :cd instead of :lcd (#874)
Fixes #829
2022-01-21 12:29:30 +01:00
kiyan
14461373e0 refacto: move all keybind logic to actions/init 2022-01-21 12:21:23 +01:00
kiyan
ba3f3357eb chore: remove redundant return in renderer/init 2022-01-21 12:09:04 +01:00
kiyan
2b2bf0721d refacto: move keypress to actions/init 2022-01-21 12:07:54 +01:00
kiyan
4d22f9487d refacto: move open-file to actions
move all logic to open file from lib to actions/open-file
2022-01-21 12:01:17 +01:00
kiyan
dc5eae6512 refacto: remove fs folder and move code to actions
- remove file moved to actions.remove-file.lua
- rename file moved to actions.rename-file.lua
2022-01-21 11:54:35 +01:00
kiyan
45671e94be refacto: extract create_file into actions module 2022-01-21 11:45:52 +01:00
Wen Jun
2e25ba5958 feat(preview): enhanced preview to toggle folder (#907)
Co-authored-by: MusiCool <wenjun.super@bytedance.com>
2022-01-21 11:29:17 +01:00
kiyan
1248bcec86 refacto: create actions folder and move some code to it
- move trash.lua into actions
- move system-open from root file to actions
- move copypasta code from fs to actions
- add file_exists in utils
- add rename_loaded_buffers in utils (might need to move that in the
  future).
2022-01-21 11:25:49 +01:00
kiyan
691a1c9699 fix lint issue 2022-01-21 11:19:56 +01:00
NiYanhhhhh
d874eb9065 fix: colors setup highlight and folder highlight range fix (#788) 2022-01-21 11:17:51 +01:00
Yuriy Artemyev
e725572f2a A more modern way to raise warning message (#893) 2022-01-21 11:07:47 +01:00
Carlos Coves Prieto
fa8bb09de4 custom node keymaps (#855) 2022-01-21 11:03:49 +01:00
Sávio Carlos Martins Costa
0982c6a35a restore-feat: highlight-git-ignored-files (#847) 2022-01-21 10:59:38 +01:00
Carlos Coves Prieto
9c0f410c50 preserve previous focus (#841) 2022-01-21 10:57:50 +01:00
Michael
9e2f6b6f25 feat: add exclude filter list (#878) 2022-01-21 10:48:58 +01:00
hellojukay
a896a2b5a2 fix demo in doc (#884)
fix lua DSL syntax error
2022-01-21 10:47:22 +01:00
Eli W. Hunter
ef6577205c Warn about dirbuf.nvim in update_to_buf_dir docs (#901) 2022-01-21 10:46:05 +01:00
Alexandr Makurin
c04ab35b07 refacto: change fs_access to fs_stat to check file existence in fs 2022-01-21 10:45:21 +01:00
kiyan
0a2f6b0b6b fix(dirchange): do not change dir when switching windows
- Avoid changing dir when switching windows, except when
changing tabpage.
- Load nvim-tree with passed directory when opening with `nvim DIR`

Fixes #858 #720
2021-12-24 14:50:20 +01:00
kiyan
e49bd8ffd3 chore(doc, mappings): remove S-CR mapping because its invalid
Fixes #850
2021-12-24 12:57:19 +01:00
kiyan
839b4c61e0 fix(doc): add | to diagnostics.show_on_dirs 2021-12-24 12:47:49 +01:00
Reviakin Evgeny
239f2d6fea show diagnostics on parent dirs if nodes with diagnostics are not visible (#862) 2021-12-24 12:47:23 +01:00
Rónán Carrigan
bb12c70367 fix(view): check wins are floating (#863) 2021-12-24 12:46:22 +01:00
Queensferry
0aec64d56c feat: set up view width/height with function (#848) 2021-12-16 22:15:47 +01:00
Xun
f408781a46 delete extra space (#842) 2021-12-12 20:52:03 +01:00
Xun
bc13a1ffca allow signcolumn settings (#805) 2021-12-12 13:00:54 +01:00
Jason Hansen
06a2b799c6 Fix for deprecated vim.lsp.diagnostic.get_all (#840) 2021-12-12 12:34:05 +01:00
Sergey Kuznetsov
fd87c240df Fix redrawing tree when not inside git repo (#836) 2021-12-12 12:25:15 +01:00
Kiyan
2e33b16543 Update issue templates 2021-12-05 23:24:59 +01:00