Commit Graph

1635 Commits

Author SHA1 Message Date
Alexander Courtis
996219335c refactor(#2826): default lifecycle log off 2025-06-17 17:07:03 +10:00
Alexander Courtis
b1a5cb55b0 Merge remote-tracking branch 'origin/master' into 2826-multi-instance-view-amc 2025-06-17 17:01:20 +10:00
Yavorski
d54a1875a9
fix: invalid window id for popup info window (#3147) 2025-06-17 16:59:28 +10:00
Alexander Courtis
1fe6ed858d refactor(#2826): add lib.target_win_id to tabline 2025-06-17 16:38:47 +10:00
Alexander Courtis
0d975b4cb4 refactor(#2826): add View.tab_line for debugging 2025-06-17 16:22:33 +10:00
Alexander Courtis
c7779d93a7 refactor(#2826): better enumerate_options function 2025-06-17 13:11:04 +10:00
Garry Filakhtov
aa087788d7
docs: fix renderer.icons.bookmarks_placement parameter, misspelling (#3150)
Fix minor documentation issues

Add a missing double quotes around the default value for
`nvim-tree.renderer.icons.bookmarks_placement` config value and fix
spelling of `bookmarked`.
2025-06-17 10:23:34 +10:00
Alexander Courtis
d24f959bf1 refactor(#2826): remove unnecessary view setup and members 2025-06-16 16:18:49 +10:00
Alexander Courtis
8b9c9c107f refactor(#2826): split global View and instance Window 2025-06-16 16:11:06 +10:00
Alexander Courtis
54439447f1 refactor(#2826): add lifecycle logging to all Explorer members 2025-06-16 13:55:35 +10:00
Alexander Courtis
fc81249d4f refactor(#2826): rename View to Window 2025-06-16 13:42:56 +10:00
Alexander Courtis
5377a3fd69 refactor(#2826): move all winhl to appearance constants 2025-06-16 13:00:33 +10:00
Alexander Courtis
76186fa64b Merge remote-tracking branch 'origin/master' into 2826-multi-instance-view-amc 2025-06-16 12:59:49 +10:00
phanium
d87b41ca53
fix: window picker ignore hidden window (#3145) 2025-06-15 15:04:47 +10:00
github-actions[bot]
6b5b366596
chore(master): release nvim-tree 1.13.0 (#3120)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-14 17:30:22 +10:00
Rami Elwan
ae595611fb
feat(#3132): add api.node.expand and api.node.collapse (#3133)
* feat: allow passing node to collapse all

* refactor: use snake case

* feat: handle api legacy calls and update signature

* refactor: make sure open is a boolean

* doc: collapse_all

* Revert "doc: collapse_all"

This reverts commit d243da3e14.

* add api.node.collapse

* add api.node.expand

* add api.node.expand

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-06-14 17:26:58 +10:00
Lucas Mendes
05d8172ebf
fix(#3143): actions.open_file.window_picker.exclude applies when not using window picker (#3144)
* fix(#3143): ensure open.no_window_picker respects window_picker.exclude

* fix(#3143): doc

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-06-14 15:35:07 +10:00
Lorentz Lasson
1c733e8c19
chore: use portable shebangs consistently (#3141)
use portable shebangs consistently
2025-06-02 09:21:07 +10:00
Šimon Mandlík
ebcaccda1c
fix(#3134): setting one glyph to "" no longer disables others (#3136)
fix: fixes #3134
2025-05-26 13:32:21 +10:00
Šimon Mandlík
cbc3165e08
fix(#2746): background and right aligned icons in floating windows (#3128)
* fix(#2746): fix cursorcolumn and right aligned icons in floating windows

* feat: remove right aligned icons from full name float, show float over right aligned icons

* refactoring: move `extmarks_length` to utils.lua

* fix: decrease `win_width` instead of increasing `text_width` when computing condition for full name float to show

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-05-24 13:19:19 +10:00
Arthur Roos
bd54d1d33c
fix(#3117): windows: change file/dir case (#3135)
fix(#3117): allow changing filename's casing

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-05-24 12:52:25 +10:00
Christoph
25d16aab7d
fix: "Invalid buffer id" on closing nvim-tree window (#3129)
fix: invalid buffer issue

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-05-18 04:35:59 +00:00
Ross W
e4cd856ebf
fix(#3124): fix icon padding for "right_align" placements, notably for dotfiles (#3125)
fix(#3124): prevent empty icons_right_align response from breaking padding
2025-05-18 12:26:18 +10:00
Alexander Courtis
e7d1b7dadc
fix(#3122): remove redundant vim.validate (#3123) 2025-05-09 10:00:28 +10:00
Spencer Chunn
ea5097a1e2
feat(#3113): add renderer.icons.folder_arrow_padding (#3114)
* Update padding.lua

* add folder_arrow_padding

* update help docs

* refactor: renderer.icons.padding

renderer.icons.padding -> renderer.icons.padding.icon
renderer.icons.folder_arrow_padding ->
renderer.icons.padding.folder_arrow

* refactor: renderer.icons.padding

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-05-05 11:51:29 +10:00
Alexander Courtis
e0759880db refactor(#2826): retain necessary view globals 2025-05-03 08:04:06 +10:00
Alexander Courtis
6218f9c2f6
Merge branch 'master' into 2826-multi-instance-view-amc 2025-05-03 07:22:27 +10:00
Alexander Courtis
582ae48c9e
chore: fix incorrect @param (#3115) 2025-04-26 12:55:36 +10:00
Alexander Courtis
21d532fdce refactor(#2826): move View into Explorer package 2025-04-21 14:23:52 +10:00
Alexander Courtis
b5e7406df4
Merge branch 'master' into 2826-multi-instance-view-amc 2025-04-21 14:13:37 +10:00
Alexander Courtis
9594528a8a refactor(#2826): API uses Explorer's View 2025-04-21 14:12:12 +10:00
Alexander Courtis
3a82885cc3 refactor(#2826): move autocmds to Explorer 2025-04-21 12:17:21 +10:00
github-actions[bot]
be5b788f2d
chore(master): release nvim-tree 1.12.0 (#3099)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-04-21 12:04:41 +10:00
Alexander Courtis
44cb3d2f0a refactor(#2826): View is an Explorer member 2025-04-21 12:02:19 +10:00
Alexander Courtis
0eb21f66f7 Merge remote-tracking branch 'origin/master' into 2826-multi-instance-view-amc 2025-04-21 09:25:27 +10:00
Alexander Courtis
64bb47f868 ci: simplify luarocks release tag pattern as it was not firing 2025-04-21 08:59:56 +10:00
Devansh Sharma
c24c0470d9
feat: add TreePreOpen event (#3105)
* feat: Add `TreePreOpen` and `TreePreClose` events

* docs: Update docs for `TreePreOpen` and `TreePreClose` events

* chore: remove `TreePreClose` event and update dispatch of `TreePreOpen`

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
2025-04-21 08:39:48 +10:00
Alexander Courtis
f309ca21e9 refactor(#2826): singleton View class 2025-04-20 14:47:43 +10:00
Alexander Courtis
f098195667 refactor(#2826): singleton View class, WIP 2025-04-20 14:28:44 +10:00
Alexander Courtis
0a04e435b1 refactor(#2826): singleton View class, WIP 2025-04-20 14:07:02 +10:00
Alexander Courtis
b95b873626 refactor(#2826): singleton View class, WIP 2025-04-20 13:57:12 +10:00
Alexander Courtis
9d3d0d220f refactor(#2826): singleton View class, WIP 2025-04-20 13:54:37 +10:00
Alexander Courtis
a3fe0c9007 refactor(#2826): singleton View class, WIP 2025-04-20 13:20:41 +10:00
Alexander Courtis
3c024975fd refactor(#2826): singleton View class, WIP 2025-04-20 12:48:22 +10:00
Alexander Courtis
fa64574f16 refactor(#2826): singleton View class, WIP 2025-04-20 12:45:22 +10:00
Devansh Sharma
3a63717d3d
fix: reliably dispatch exactly one TreeOpen and TreeClose events (#3107)
* fix: correctly handle `TreeOpen` and `TreeClose` event dispatch

* fix: lint issues
2025-04-20 09:49:28 +10:00
Alexander Courtis
5bea2b3752
fix(#3101): when renderer.highlight_opened_files = "none" do not reload on BufUnload and BufReadPost (#3102)
* fix(#3101): fix bad reference to renderer.highlight_opened_files during BufUnload and BufReadPost

* fix(#3101): only redraw renderer.highlight_opened_files during BufUnload and BufReadPost

* fix(#3101): only redraw renderer.highlight_opened_files during BufUnload and BufReadPost

* fix(#3101): only redraw renderer.highlight_opened_files during BufUnload and BufReadPost
2025-04-11 12:48:34 +10:00
Šimon Mandlík
c3c1935942
fix: explicitly set border to "none" in full name float (#3094) 2025-04-04 17:29:38 +11:00
Alexander Courtis
44d9b58f11
chore: use builtin EmmyLuaCodeStyle for style checking (#3084)
* chore: sync EmmyLuaCodeStyle settings between .editorconfig and .luarc.json

* chore: lua-language-server 3.11.0 -> 3.13.9

* chore: fix incorrect definition of vim.loop.fs_lstat

* chore: add codestyle-check option to luals-check.sh

* chore: use luals for style check

* chore: use luals for style check

* Revert "chore: use luals for style check"

This reverts commit e5fde80fab.

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check

* chore: use luals for style check
2025-03-23 12:46:17 +11:00
dependabot[bot]
c09ff35de5
chore(deps): bump leafo/gh-actions-lua from 10 to 11 (#3069)
Bumps [leafo/gh-actions-lua](https://github.com/leafo/gh-actions-lua) from 10 to 11.
- [Release notes](https://github.com/leafo/gh-actions-lua/releases)
- [Commits](https://github.com/leafo/gh-actions-lua/compare/v10...v11)

---
updated-dependencies:
- dependency-name: leafo/gh-actions-lua
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-01 11:07:35 +11:00