Azad
874ae6e944
fix: reload tree on BufEnter if cwd is different ( #2527 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-12 13:14:32 +11:00
geril2207
74ddb8f2bb
fix: cleanup live filter scratch buffers ( #2522 )
2023-11-12 12:53:24 +11:00
Azad
a2aaf8b430
feat( #2515 ): add option to change grouped folders name with custom function ( #2521 )
...
* Add option to change grouped folders name with custom function
* Fix docs
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-09 11:20:29 +01:00
geril2207
4ee6366ff1
fix( #2512 ): file creation in empty folder without root_folder_label ( #2514 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-08 09:01:28 +11:00
Azad
0a99c4a23e
feat: allow cycling on git/diagnostic/opened files navigation ( #2506 )
...
* feat: allow cycling on git/diagnostic/opened files navigation
* luacheck
* Remove useless nil check
* Cycle only if `wrapscan` is enabled
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-07 00:39:08 +01:00
dependabot[bot]
c763861afb
chore(deps): bump amannn/action-semantic-pull-request
...
Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request ) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases )
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v5.3.0...v5.4.0 )
---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 12:42:04 +02:00
Dongyomi
20a0707e0f
fix( #2507 ): icon in message after rename-file ( #2510 )
...
* fix(#2507 ): icon in message after rename-file
* fix(#2507 ): icon in message after rename-file
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-11-06 10:38:16 +11:00
geril2207
24bb0ed806
fix: error when deleting opened file from floating window ( #2503 )
2023-11-06 09:35:51 +11:00
Tomasz N
7e3c0bee7b
feat: renderer.full_name includes root node ( #2502 )
...
* Do not exclude root node from `full_name`
* fix range
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-30 13:17:33 +11:00
Azad
7630cf4a92
fix( #2495 ): skip API action if node == nil ( #2499 )
...
* fix(#2495 ): skip action if node == nil
* simplify
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-30 12:46:21 +11:00
Alexander Courtis
df38f1f30d
docs: add (disabled) diagnostics config to bug report template ( #2484 )
...
* docs: add (disabled) diagnostics config to bug report template
* Revert "docs: add (disabled) diagnostics config to bug report template"
This reverts commit aa0b9aa9b8 .
* docs: add (disabled) diagnostics config to bug report template
2023-10-30 12:44:25 +11:00
Azad
c1568568b3
feat( #2498 ): delete, trash prompts default N, added ui.confirm.default_yes option to override this behaviour ( #2500 )
...
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-30 12:28:29 +11:00
rei
7c5c074354
fix( #2467 ): remove newline in git paths when using cygwin_support ( #2478 )
...
* fix(#2467 ): remove newline in git paths
* fix: info size suffix and formatting (#2492 )
- Now there is a whitespace between value and unit.
- Now values >= 1024 YiB are shown in YiB instead of B.
- To reuse same code a new local function was added: round().
* feat(#2312 ): fire `TextYankPost` event on path copy (#2489 )
* feat(#2312 ): fire `TextYankPost` event on path copy
* stylua
* Bug fix
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
* feat: mapping and options to sort entries in help window (#2482 )
* feat: add option to sort entries in help window
* stylua
* Add keymap to toggle sorting methods
* Bug fix
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
* fix(#2467 ): remove newline in git paths
* fix(#2467 ): change cygpath calls to array format
To avoid shell compatibility issues in msys2 environment on Windows
* stylua nit
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
Co-authored-by: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com>
Co-authored-by: Azad <49314270+Akmadan23@users.noreply.github.com>
2023-10-30 11:39:32 +11:00
Azad
78a9ca5ed6
feat: mapping and options to sort entries in help window ( #2482 )
...
* feat: add option to sort entries in help window
* stylua
* Add keymap to toggle sorting methods
* Bug fix
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-23 08:57:49 +11:00
Azad
c2194e940c
feat( #2312 ): fire TextYankPost event on path copy ( #2489 )
...
* feat(#2312 ): fire `TextYankPost` event on path copy
* stylua
* Bug fix
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-23 08:56:06 +11:00
Andrew Voynov
a31dfada1d
fix: info size suffix and formatting ( #2492 )
...
- Now there is a whitespace between value and unit.
- Now values >= 1024 YiB are shown in YiB instead of B.
- To reuse same code a new local function was added: round().
2023-10-23 08:54:37 +11:00
Andrew Voynov
83b699533b
feat: use IEC binary size prefixes ( #2483 )
...
* Added binary (IEC) prefixes
* Added missing binary prefixes
2023-10-22 08:58:45 +11:00
Alexander Courtis
db8145c27d
fix( #2459 ): disable cygwin git support by default, see :help nvim-tree.git.cygwin_support to enable ( #2486 )
2023-10-21 16:34:34 +11:00
Alexander Courtis
8b4dbc57e4
docs: update CONTRIBUTING.md ( #2485 )
2023-10-21 13:54:25 +11:00
Alexander Courtis
40b9b887d0
fix( #2473 ): remove problematic <S-Tab> default mapping ( #2475 )
2023-10-17 10:00:56 +11:00
umlx5h
aaee4cd896
feat: api.node.open.preview_no_picker with default mapping <S-Tab> ( #2464 )
...
* feat: add preview with no window picker action
* feat: preview_no_window_picker -> preview_no_picker
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-15 14:04:04 +11:00
Benoit Charles
0882354517
feat( #2148 ): api.fs.rename_full ( #2461 )
...
* feat(#2148 ): add rename_full in API
* feat(#2148 ): add default mapping 'u' for rename_full
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-15 13:40:40 +11:00
Alexander Courtis
57078f9240
docs: add team and windows variant/notes to bug report ( #2470 )
2023-10-15 13:12:33 +11:00
Azad
4054fc4be3
refactor: format tables line by line for better readability ( #2456 )
...
* Format tables line by line for better readability
* Forgot a comma
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-14 18:07:28 +11:00
Alexander Courtis
e64a498a5e
feat: notify [NvimTree] prefix is multiline only if the message is multiline ( #2453 )
...
* feat: notify [NvimTree] prefix is multiline only if the message is multiline
* feat: notify [NvimTree] prefix is multiline only if the message is multiline
2023-10-14 18:03:13 +11:00
Alexander Courtis
53b0bcaada
chore: stylua column width 120 -> 140 ( #2448 )
...
* chore: stylua column width 120 -> 140
* chore: stylua column width 120 -> 140, tidy
* Revert "chore: stylua column width 120 -> 140, tidy"
This reverts commit 8a0524d6bd .
* chore: stylua column width 120 -> 140, tidy watcher.lua
* chore: stylua column width 120 -> 140, tidy diagnostics.lua
* chore: stylua column width 120 -> 140, tidy git.lua
* chore: stylua column width 120 -> 140, tidy open-file.lua
* chore: stylua column width 120 -> 140, tidy system-open.lua
* chore: stylua column width 120 -> 140, tidy runner.lua
2023-10-08 11:40:58 +11:00
zootedb0t
94e572e141
fix( #2450 ): apply NvimTreeImageFile for webp and jxl files ( #2451 )
2023-10-08 11:37:20 +11:00
Azad
85abe29396
feat: use virtual title in notifications if title is not supported ( #2439 )
...
* feat: use virtual title in notifications if title is not supported
* Fix boolean expressions
* Replace `pcall` with `package.loaded`
* Detect title support before sending notification
* Prevent `title_support` from being nil after evaluation
* temporary stylua suppression
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-07 12:40:39 +11:00
Alexander Courtis
d8e495b235
fix( #2154 ): selection incorrect after find-file when renderer.group_empty ( #2437 )
2023-10-07 12:24:19 +11:00
Bram Reyniers
e153d9f599
fix( #2440 ): view.width.padding may be a number or function returning a number ( #2442 )
...
* fix validation view.width.padding
* fix docs for view.width.padding
* fix docs for view.width.padding
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-10-07 12:21:13 +11:00
Alexander Courtis
7dcda5d3b6
doc( #2440 ): view.width.padding may only be a string ( #2441 )
2023-10-02 14:38:11 +11:00
Azad
113e0950c8
feat: split startup warning messages into multiple lines ( #2436 )
2023-10-01 12:51:49 +11:00
dependabot[bot]
934469b9b6
chore(deps): bump amannn/action-semantic-pull-request from 5.2.0 to 5.3.0 ( #2435 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-26 10:21:35 +02:00
Azad
ce3495bd4c
fix: schedule notifications to avoid UI freeze on startup ( #2432 )
...
* fix: schedule notifications to avoid UI freeze on startup
* stylua
2023-09-26 08:41:23 +10:00
Alexander Courtis
07eb5b4059
docs: notify deprecated hide_root_folder ( #2431 )
2023-09-24 15:15:19 +10:00
Alexander Courtis
d49a284236
feat( #2411 ): add renderer.highlight_bookmarks, renderer.icons.bookmarks_placement ( #2412 )
...
* feat(#1079 ): add highlight NvimTreeCopiedText and NvimTreeCutText
* feat(#1079 ): add highlight NvimTreeCopiedText and NvimTreeCutText
* feat(#1079 ): node may not be present in copy and cut
* feat(#2411 ): bookmark highlight and icon placement
* feat(#1079 ): add renderer.highlight_clipboard
* feat(#1079 ): add renderer.highlight_clipboard
* feat(#2411 ): bookmark highlight and icon placement
* feat(#2411 ): bookmark highlight and icon placement
* style
* feat(#2411 ): bookmark highlight and icon placement
* feat(#2411 ): bookmark highlight and icon placement
* feat(#2411 ): bookmark highlight and icon placement
* feat(#2411 ): bookmark highlight and icon placement
2023-09-24 15:07:02 +10:00
Azad
ea147418e0
feat: validate all option types ( #2414 )
...
* refactor: follow config structure for `ACCEPTED_TYPES`
* Bug fix
* Fix check for default values
* Reduce error notifications verbosity
* Address issues introduced previously
* stylua
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-09-23 14:56:17 +10:00
Azad
914a6868cb
docs: add missing quotes ( #2424 )
2023-09-23 12:06:48 +10:00
Alexander Courtis
a3aa3b47ea
feat( #1079 ): add renderer.highlight_clipboard default name, defaults to undercurls ( #2410 )
...
* feat(#1079 ): add highlight NvimTreeCopiedText and NvimTreeCutText
* feat(#1079 ): add highlight NvimTreeCopiedText and NvimTreeCutText
* feat(#1079 ): node may not be present in copy and cut
* feat(#1079 ): add renderer.highlight_clipboard
* feat(#1079 ): renderer.highlight_clipboard takes options, style cut/copy HL
* feat(#1079 ): renderer.highlight_clipboard takes options, style cut/copy HL
* feat(#1079 ): use an enum for highlight position
* feat(#1079 ): diagnostics uses _append_highlight
2023-09-17 16:08:04 +10:00
Azad
f742b86852
fix: add legacy options safety
2023-09-17 11:08:57 +10:00
pr4th4m
7f7665a17b
feat: api.marks.bulk.trash ( #2391 )
...
* Feature: Bulk trash api
* Update docs
* Follow documentation syntax
* Remove unnecessary refresh
* doc spacing
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-09-16 15:10:36 +10:00
Alexander Courtis
94c7c810af
Revert "fix: ensure startup warnings are visible with a multiline message, to work around https://github.com/neovim/neovim/issues/17832 planned for fix in nvim 0.10 ( #2387 )"
...
This reverts commit 807dc05156 .
2023-09-10 10:38:49 +10:00
Alexander Courtis
b7f6600bc2
feat( #2197 ): git and diagnostics folder highlight groups ( #2409 )
...
* feat(#2197 ): add git folder highlight groups
* feat(#2197 ): add diagnostics folder highlight groups
2023-09-09 15:13:14 +10:00
Alexander Courtis
8f48426c88
feat( #2316 ): add NvimTreeFolderArrowClosed NvimTreeFolderArrowOpen ( #2408 )
2023-09-09 14:21:25 +10:00
Alexander Courtis
33c3bc562b
feat( #2398 ): add NvimTreeOpenedFileIcon ( #2407 )
2023-09-09 13:31:40 +10:00
Tillman Jex
b856d0a0c3
fix( #2392 ): bookmarks icon placement when group_empty ( #2402 )
...
* fix: marks now align with nodes when parent nodes are empty and group_empty option
enabled
* run stylua
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-09-09 11:27:15 +10:00
Azad
51f02366de
feat: validate some option string values ( #2404 )
...
* Add check for accepted strings in user opts
* option failures point to :help nvim-tree-opts
---------
Co-authored-by: Alexander Courtis <alex@courtis.org>
2023-09-09 11:07:06 +10:00
dependabot[bot]
ec33d4befa
chore(deps): bump actions/checkout from 3 to 4 ( #2403 )
2023-09-05 12:45:39 +02:00
Alexander Courtis
5897b3622f
fix( #2386 ): kill git zombies ( #2401 )
2023-09-03 17:26:05 +10:00
Alexander Courtis
277632fbd9
docs: enhance quickstart, document git timeouts ( #2400 )
...
* doc: clarify git and remove bookmarks
* doc: break up quickstart
2023-09-03 16:36:37 +10:00