kiyan
471afc13fe
refacto: abstract TreeExplorer in core.lua
2022-03-09 22:01:54 +01:00
kiyan
144bce74a5
refacto: move renderer git into file
...
also view.is_root_folder_modifier_visible don't take the tree as
parameter
2022-03-09 21:32:15 +01:00
Andreas Bissinger
d5a12ac9db
fix: correct index in movement actions ( #1058 )
2022-03-09 09:03:22 +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
5cfe768882
fix: resize if size is nil
2022-03-06 14:10:56 +01:00
kiyan
b493e23ed7
fix: wipe buffer before initializing
...
Buffer was wiped after being created which resulted in trying to setting
buffer options and name to nil buffer.
fixes #1031
2022-03-06 12:00:51 +01:00
Andreas Bissinger
7cb689795e
feature: add feature to increase/decrease size ( #1048 )
2022-03-06 11:33:28 +01:00
Andreas Bissinger
5015e7226c
remove tabs ( #1047 )
2022-03-05 13:38:26 +01:00
kiyan
0e7856fd8d
BREAKING_CHANGE: nvim-tree buffer was renamed
...
You should now use `NvimTree_*` when matching with an autocmd
There is now 1 buffer per tabpage.
2022-03-01 20:58:04 +01:00
kiyan
6af2d5a720
chore: move auto_resize to actions.open_file.resize_window
...
fixes #1034
2022-03-01 20:07:36 +01:00
kiyan
19346da6e1
fix: abandon window and bufnr before editing file
...
fixes a vinegar mode issue
2022-02-22 21:45:37 +01:00
Richard Mathieson
3486c48225
fix: add config for preserving window proportions on open file ( #999 )
2022-02-22 14:04:14 +01:00
kiyan
f8f297acbf
feat: add vinegar abilities to the tree
...
fixes #860
2022-02-21 21:42:43 +01:00
kiyan
1a5ee2870e
fix: fallback to window 0 when winnr is nil in focus
...
fixes #982
2022-02-15 08:16:42 +01:00
kiyan
ac3f02a83e
tempfix: redraw when setting cursor to address a neovim issue
...
addresses #970
2022-02-14 19:26:55 +01:00
Kiyan
6da7467944
refacto: buffer management, setup fixes, autocmd fixes ( #967 )
2022-02-14 19:16:45 +01:00
kiyan
36afa32018
chore: move _prevent_buffer_override in entry file
2022-02-11 10:11:59 +01:00
kiyan
5744c469a6
fix(temporary): defer colors setup and hijack window
...
lazy loading + opening will close the window. Need to find a fix for
this.
fixes #947
2022-02-09 21:01:02 +01:00
kiyan
879049ac03
fix: create buffer during setup schedule
...
and move view setup before setup schedule
Fixes #951
2022-02-09 19:29:43 +01:00
kiyan
f183c7f311
chore: move last autocmds from view to entrypoint
2022-02-08 20:56:02 +01:00
boppyt
230a61db91
fix: disable highlighting 'number' when CursorLine is enabled ( #941 )
2022-02-07 18:27:13 +01:00
kiyan
1fe29f8eef
chore: move g:nvim_tree_quit_on_open into open_file action config
2022-02-05 18:42:08 +01:00
kiyan
5697dc4fcf
fix: typo in view for focused file
...
fixes #782
2022-02-05 14:04:58 +01:00
kiyan
14461373e0
refacto: move all keybind logic to actions/init
2022-01-21 12:21:23 +01:00
Carlos Coves Prieto
fa8bb09de4
custom node keymaps ( #855 )
2022-01-21 11:03:49 +01:00
Carlos Coves Prieto
9c0f410c50
preserve previous focus ( #841 )
2022-01-21 10:57:50 +01:00
kiyan
e49bd8ffd3
chore(doc, mappings): remove S-CR mapping because its invalid
...
Fixes #850
2021-12-24 12:57:19 +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
Raafat Turki
e842f08884
feat: add trashing ( #749 )
2021-11-28 15:26:24 +01:00
JavierPoduje
9db956fab7
feat: allow number and relativenumber settings ( #762 )
2021-11-28 14:18:43 +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
M.A
fd3969ec98
feat: add hide_root_folder ( #728 )
2021-10-24 16:48:57 +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
ef2c3bfc52
feat: add normal nc highlight group ( #705 )
2021-10-09 10:35:58 +02:00
kiyan
f81484274f
fix: avoid view erroring because of mark
2021-10-07 22:03:53 +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
cd7be73b08
feat: completely filter out base mappings if user mappings are defined
2021-10-02 14:20:20 +02:00
kiyan
1fe211eda0
fix: update to buf directory implementation
2021-10-01 14:04:07 +02:00
kiyan
1b04082872
fix: do not display empty string or nil callbacks in help view
2021-09-30 13:17:05 +02:00
kiyan
3633e728e0
chore: refacto view setup and simplify the code
2021-09-26 14:55:49 +02:00
kiyan
4db5dfa320
fix: set nowrap in buffer instead of on each draw
2021-09-12 14:16:12 +02:00
kiyan
27caccba18
fix: switch buffers on close
...
when closing the tree which is the last window, switches buffers
instead of getting an input with a message to close nvim or ignore.
2021-09-03 20:59:10 +02:00
kiyan
b1c447946b
fix: luacheck, buffer override erroring with mark not set
2021-08-31 21:22:30 +02:00
kiyan
4cc2abe3e2
fix: reload view when bufnr is not valid
2021-08-30 18:49:33 +02:00
Krafi
802bc08485
Add augroup to view setup ( #597 )
2021-08-28 16:14:40 +02:00
Kiyan
3bac5633e1
feat: open tree on directory ( #288 )
2021-08-28 11:39:10 +02:00