Commit Graph

458 Commits

Author SHA1 Message Date
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
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
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
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
figsoda
514619897f
feat: add NvimTreeFindFileToggle (#735) 2021-10-23 15:35:28 +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
Kiyan
ef2c3bfc52
feat: add normal nc highlight group (#705) 2021-10-09 10:35:58 +02:00
gzygmanski
385f8c89e0
feat: show default file icon when nvim-devicon is not installed (#696) 2021-10-08 21:53:31 +02:00
Unoqwy
c0dcbbd285
add special files using absolute paths (#707) 2021-10-08 21:53:09 +02:00
kiyan
618286b726 fix: get_node_at_line for group nodes 2021-10-08 20:01:09 +02:00
Kiyan
6f8dc1d41c
Revert "add icons for default and symlink (#649)" (#706)
This reverts commit 34af2d22ad.
2021-10-08 19:33:55 +02:00
Jakub Łuczyński
08a29d350e
Fixed clear_prompt (#693) 2021-10-08 19:26:43 +02:00
kiyan
f81484274f fix: avoid view erroring because of mark 2021-10-07 22:03:53 +02:00
kiyan
7ca37f824b fix: run find_file on DirChanged if update_focused_file is enabled
fixes #690
2021-10-05 17:51:48 +02:00
kiyan
29e5b754b7 fix: quit after buffer override with g:nvim_tree_quit_on_open 2021-10-03 14:15:57 +02:00
kiyan
fb32f35d7f chore: allow configuring height
also fixes window management for top and bottom tree side
2021-10-03 14:13:10 +02:00
kiyan
8fe2b547ac feat: add lib.collapse_all function 2021-10-03 12:58:08 +02:00
kiyan
4de55440b8 fix: returns empty string instead of default icon by default 2021-10-02 23:11:13 +02:00
kiyan
cd7be73b08 feat: completely filter out base mappings if user mappings are defined 2021-10-02 14:20:20 +02:00
kiyan
6416ea3562 chore: add old option detection in plugin/nvim-tree.lua 2021-10-02 14:05:50 +02:00
kiyan
137628acb6 chore: update_to_buf_dir allow auto_open configuration
also improve the documentation with doc references
2021-10-02 13:53:51 +02:00