Commit Graph

574 Commits

Author SHA1 Message Date
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
kiyan
2301b3675f fix(git): check handle before accessing it
Fixes #814
Should fix #816
2021-12-05 22:50:43 +01:00
Kiyan
0ad5d2ca4e Create FUNDING.yml 2021-12-05 22:45:21 +01:00
kiyan
8fd3d276e1 fix(git): add --no-optional-locks to avoid locking git process
Closes #810.
2021-12-05 22:40:14 +01:00
eightpigs
e84828806c fix: NvimTree does not open the file when it is open standalone (#815) 2021-12-05 22:32:08 +01:00
shikun
65b8b19c8b fix: idx passed to api.nvim_win_set_cursor may be -1 (#821)
This causes out of range error on CursorMoved event is fired if hijack_cursor option is set to true.
Although I don't know why it fixes the issue, but it has been working fine for me.

Potentially fix #783, #803
2021-12-05 22:27:20 +01:00
Raafat Turki
e842f08884 feat: add trashing (#749) 2021-11-28 15:26:24 +01:00
kiyan
6488075d6a fix: do not indent for arrows when indent markers is active 2021-11-28 15:24:58 +01:00
kiyan
3916c0fc60 fix: handle CM git status 2021-11-28 14:35:05 +01:00
kiyan
9b9059f5a3 fix: pathext non existent on unix 2021-11-28 14:23:58 +01:00
JavierPoduje
9db956fab7 feat: allow number and relativenumber settings (#762) 2021-11-28 14:18:43 +01:00
UnderCooled
f2f1a34733 Using "vim.env.PATHEXT" to determine Windows executables. (#784) 2021-11-28 14:18:29 +01:00
Munif Tanjim
97f0039149 fix: close_node behavior on file (#799) 2021-11-28 14:14:42 +01:00
Kiyan
6662b60a2b feat/chore: rewrite git with job and some other fixes (#743)
* feat/chore: rewrite git with job and some other fixes

* fix: fs clear window, rename echo_warning -> warn

also fix renaming and add an event blocker to avoid running many events
at the same time
2021-11-27 16:02:54 +01:00
kiyan
b853e1083c Revert "fix: remove buffer when its empty when hijacking"
This reverts commit 0babcb4f2c.
2021-11-27 14:08:46 +01:00
kjssad
ea38eaa967 fix(nvim-0.6): wrong color group for warning sign (#792) 2021-11-27 14:07:36 +01:00
kiyan
0babcb4f2c fix: remove buffer when its empty when hijacking 2021-11-27 13:54:17 +01:00
kiyan
8eed3ff805 chore: add git url in deprecation warning 2021-11-27 13:40:09 +01:00
gegoune
5c32c1d8b3 chore(diagnostics): follow upstreams autocommand's rename (#796)
See: https://github.com/neovim/neovim/issues/14090#issuecomment-979424077
2021-11-27 13:32:30 +01:00
Reyhan Ünal
5d8453dfbd docs: add screenshot4.png (#763) 2021-10-31 16:45:19 +01:00
kiyan
a6c1d45dd6 chore: refacto populate filtering
move `nvim_tree_ignore` and `nvim_tree_hide_dotfiles` to setup
2021-10-30 12:25:09 +02:00
kiyan
f92b7e7627 fix: hijack current dir when doing :edit .
fixes #756
2021-10-30 11:35:44 +02:00
kiyan
2298b63fff chore: add "C " and " C" git statuses (copied)
fixes #755
2021-10-30 11:21:13 +02:00
tiagovla
c4ecf4416b docs: fix typo (#746) 2021-10-25 20:56:15 +02:00
M.A
fd3969ec98 feat: add hide_root_folder (#728) 2021-10-24 16:48:57 +02:00
figsoda
6cadd3a9d7 feat: change parent directory to open (#734) 2021-10-23 15:38:39 +02:00
Jean-Luc Bastarache
cf3e242106 docs: move modeline to the end of the documentation (#729) 2021-10-23 15:36:56 +02:00
Jean-Luc Bastarache
a49b3ad4f5 docs: include NvimTreeWindowPicker in hl-groups (#730) 2021-10-23 15:36:33 +02:00
Yehya Elmasry
5014f59585 Fix tree refreshing logic (#739) 2021-10-23 15:35:46 +02:00