Kiyan
e7832785d2
feat(api): add public API module ( #1432 )
2022-07-25 11:11:48 +02:00
John Fred Fadrigalan
d927e89aa9
refactor(actions): remove linefeed on info messages. ( #1450 )
2022-07-22 10:10:58 +02:00
kiyan
08ab346f03
fix(scripts): default mappings should put a comma at the end of each line
2022-07-21 14:38:29 +02:00
Gutyina Gergő
522bde4ea5
fix(docs) Add commas in example config for docs ( #1447 )
2022-07-21 14:31:18 +02:00
kiyan
79434c2b3c
feat(tab_change): introduce new option to filter buffer by bufname or ft
...
Also fixes changing tab by deferring the call on tab enter.
New option `ignore_buf_on_tab_change` to avoid opening for some tabs.
Some example could be neogit, vim fugitive, man pages ...
2022-07-21 11:14:40 +02:00
FotiadisM
1e3c578eeb
fix: count unicode codepoints instead of bytes ( #1445 )
2022-07-20 23:05:44 +02:00
kiyan
630305c233
fix(executable): prevent nil extensions in executable check
...
fix on windows
fixes #1444
2022-07-19 14:11:53 +02:00
yehy4
c964fa24d0
fix(git): fix inverted condition logic introduced in #1433 ( #1443 )
2022-07-19 11:48:32 +02:00
kiyan
8dc2144e87
refactor: use vim.ui.input for y/n selections
...
also add clear_prompt again.
fixes #1441
2022-07-19 11:31:09 +02:00
Klesh Wong
b754eb8359
fix(explorer): reload executable stat ( #1427 )
2022-07-19 11:25:41 +02:00
Alexander Courtis
f85b4d9952
chore(git): profile git toplevel and untracked calls ( #1435 )
2022-07-19 17:44:24 +10:00
yehy4
203bb7e176
fix(git): prevent execution of git commands when git integration is disabled ( #1433 )
2022-07-19 17:44:05 +10:00
Alexander Courtis
ecca8118f8
doc: remove fs_poll interval and update doc
2022-07-19 09:39:03 +10:00
kiyan
2edbe759cd
fix(open-file): vim.op -> vim.opt
2022-07-18 15:44:52 +02:00
kiyan
ba5c18dc2b
feat: add confirmation kind to select y/n
2022-07-18 14:38:32 +02:00
kiyan
1018a83e10
fix(create-file): pass file in parameter
2022-07-18 14:34:10 +02:00
kiyan
1ee6a3ea65
feat(create-file): use vim.ui.select for confirmation
...
fixes #1434
fixes #1294
2022-07-18 14:32:19 +02:00
kiyan
2d629cab78
feat(remove-file): use vim.ui.select
2022-07-18 14:28:08 +02:00
kiyan
7cffe14743
feat(trash): use vim.ui.select for confirmation
2022-07-18 14:25:52 +02:00
kiyan
1b667bc99e
feat(search-node): use vim.ui.input
2022-07-18 14:20:55 +02:00
kiyan
69aec67edb
feat(copy-paste): use vim.ui from prompting
2022-07-18 14:17:25 +02:00
kiyan
18447132fc
feat(notify): switch all print/nvim_*write statements to utils.notify
2022-07-18 14:04:48 +02:00
kiyan
21fadc1f38
chore: move nvim-tree.utils.warn -> notify.warn
...
add notify.error and notify.info
2022-07-18 13:46:11 +02:00
kiyan
ec530e73be
fix(wipe): wipe all nvim-tree rogue buffers
...
also prevent find_file if bufnr is not valid
fixes #1438
2022-07-18 13:29:56 +02:00
Alexander Courtis
16753d5e25
doc: add help hint to invalid config warning
2022-07-18 10:13:16 +10:00
Alexander Courtis
06e48c29c4
chore(watchers): refactor events and make debouncer safe
...
- fs poll -> fs events
- make debouncer safe and fix diagnostics events
2022-07-17 08:50:24 +02:00
Kiyan
26512c369f
feat(marks): add bulk move action ( #1419 )
2022-07-17 08:25:11 +02:00
kiyan
208ce0b153
doc(contrib): add notice for git hook setup
2022-07-16 15:44:05 +02:00
kiyan
4900d66370
fix(open-file): focus file if already opened
2022-07-16 15:38:50 +02:00
Kiyan
89becc7604
feat(marks): add navigation (next, previous, select) ( #1415 )
2022-07-16 10:40:47 +02:00
Kiyan
b32c88333f
feat(movement): allow circular movement for sibling next and prev ( #1416 )
2022-07-16 10:39:24 +02:00
kiyan
449b5bd0cb
fix(renderer): padding indent with folders only
2022-07-15 18:09:28 +02:00
kiyan
9a02dedd92
fix(renderer): indent markers with arrows
...
breaking: glyphs for indent markers should only be one block large
2022-07-15 09:33:40 +02:00
kiyan
19425c5896
refactor(renderer): extract bools into variables
2022-07-14 19:07:12 +02:00
kiyan
8632ac2739
fix(renderer): indent markers + folder arrows should offset
...
fixes #1421
2022-07-14 19:04:01 +02:00
kiyan
80dc86e874
refactor(actions): use vim.keymap.set/del
2022-07-14 09:57:37 +02:00
kiyan
7087af83f3
fix(keypress): use <cmd> instead of : to avoid triggering CmdLineEnter
...
fixes #1417
2022-07-14 09:33:19 +02:00
ii14
c231933fcd
feat: add -bar option to command definitions ( #1422 )
...
Co-authored-by: ii14 <ii14@users.noreply.github.com>
2022-07-14 09:17:30 +02:00
kiyan
0f96e32326
fix(actions): dispatching filter should not match for "live" keyword
...
fixes #1420
2022-07-12 10:16:01 +02:00
kiyan
6a49a0301f
refactor(marks): fix offset line and move into init.lua
...
also set node in marks record instead of true
2022-07-12 09:34:26 +02:00
kiyan
078a9e5bf9
chore: move focus_file to utils
2022-07-11 16:55:33 +02:00
Kiyan
df92f1527f
feat(bookmarks): add bookmark feature ( #1412 )
2022-07-11 10:00:12 +02:00
kiyan
0fa2ec1950
fix(actions): create file should defer more to focus
2022-07-11 09:49:10 +02:00
Alexander Courtis
26d0757bd9
doc: fix bad link in readme
2022-07-11 09:44:43 +10:00
kiyan
ad1f3ef3bc
feat(renderer): show symlink folder destination
...
fixes https://github.com/kyazdani42/nvim-tree.lua/issues/980
2022-07-10 10:47:51 +02:00
kiyan
8d0c93db4a
refactor(collapse-all): extract buffer matching logic
2022-07-10 10:03:48 +02:00
kiyan
2d2cbe63f4
refactor(actions): split movements into multiple modules
2022-07-10 09:53:58 +02:00
Kiyan
831f1158c3
refactor(actions): move actions into semantic modules ( #1410 )
2022-07-10 09:47:52 +02:00
kiyan
90bf14014e
fix(file rename): edit buffer when renaming to reset filetype
...
fixes https://github.com/kyazdani42/nvim-tree.lua/issues/1404
2022-07-10 09:39:11 +02:00
Alexander Courtis
fd562ede63
fix( #1406 ): allow nvim-tree.renderer.icons.show.folder_arrow
...
* fix(#1406 ): allow nvim-tree.renderer.icons.show.folder_arrow when not folder
* fix(#1406 ): allow nvim-tree.renderer.icons.show.folder_arrow when indent markers enabled
* fix(builder): highlight first iteration for arrow column
* fix stylua
Co-authored-by: kiyan <yazdani.kiyan@protonmail.com>
2022-07-10 12:14:18 +10:00