Commit Graph

225 Commits

Author SHA1 Message Date
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
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
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
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
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
2301b3675f fix(git): check handle before accessing it
Fixes #814
Should fix #816
2021-12-05 22:50:43 +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
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
kjssad
ea38eaa967 fix(nvim-0.6): wrong color group for warning sign (#792) 2021-11-27 14:07:36 +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
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
2298b63fff chore: add "C " and " C" git statuses (copied)
fixes #755
2021-10-30 11:21:13 +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
Yehya Elmasry
5014f59585 Fix tree refreshing logic (#739) 2021-10-23 15:35:46 +02:00
kiyan
ec3f10e211 chore: add R git state
closes #723
2021-10-16 17:53:46 +02:00
Justin
9f90be7b67 fix: escape directory name before cd-ing (#725) 2021-10-16 17:43:22 +02:00
kiyan
7f5a49f7c4 fix: filter also supports ext with other characters than words 2021-10-12 19:44:51 +02:00
kiyan
fda5b82bdf fix: lsp diagnostics user autocmd setup 2021-10-10 17:02:34 +02:00
kiyan
53856f5d3a fix: remove lsp icons for loading in config 2021-10-10 15:48:23 +02:00
kiyan
6811cba841 fix(colors): link signcolumn and normalnc to nvimtreenormal 2021-10-10 14:19:40 +02:00
kiyan
86e6dc627e chore: move help rendering in its own file 2021-10-10 11:48:02 +02:00
kiyan
94b8604e86 chore: complete the diagnostic setup migration
Colors groups and icons are now in diagnostics.lua. They are defined on
setup which allows an easier configuration and better documentation.
`lsp_diagnostics` boolean value has been moved into a table `diagnostics`
with `enable` and `icons` as properties.
2021-10-10 11:42:22 +02:00
kiyan
64c31aaec7 fix: link normalNC and signcolumn to normal 2021-10-10 10:59:40 +02:00
kiyan
edc74ee6c4 fix: add normalNC color group
fixes #709
2021-10-09 14:28:54 +02:00
kiyan
22e64cc736 fix: add sign column to winhl 2021-10-09 14:26:23 +02:00
kiyan
a51795946e fix: remove change_dir window event check
fixes #673. Not sure why this check was added in the first place, but
some testing made me realize maybe it wasn't useful.
2021-10-09 10:54:43 +02:00
Taylor Bartlett
dbd13439b9 fix: #703 (#708) 2021-10-09 10:45:38 +02:00