Skip to content

Releases

3.42.0

Choose a tag to compare

@pynappo pynappo released this 01 Sep 21:26
f3f3bf7

Hi, sorry for delays on this release, been a bit busy lately.

Highlights

  • feat(commands): trash command w/ undo and restore by @pynappo in #1914

By default, trash is currently bound to T, undo is bound to u. and restore_from_trash is bound to U. restore_from_trash is for restoring items directly from the trash bin.

Bound to <C-s> by default. Allows quick jumping to visible lines.

Bound to <Tab> by default. Works alongside visual selection.

  • feat(commands): invert_selection, selected persistence & undo, distinguish tagged- vs. visually-selected by @pynappo in #2067

invert_selection is bound to <C-S-i> by default.

  • docs: mention Crysthamus/nvim-file-operations by @pynappo in #2040

A maintained replacement for nvim-lsp-file-operations. I audit the code sometimes and it looks good to me.

  • feat(document_symbols): add ignore_symbols option to filter symbol tree by @jensenojs in #2032
  • feat(commands): git pull command by @pynappo in #2045

What's Changed

  • fix(fs_actions): clear buffers when trashing by @akioweh in #2036
  • fix(command): prevent focus stealing in action="show" by @jensenojs in #1985
  • fix: set winfixheight/width on custom no-enter split by @pynappo in #2042
  • fix(document_symbols): reveal cursor position on open by @benward2301 in #2041
  • fix(git): parse check-ignore correctly by @pynappo in #2044
  • fix(git): switch ignored files resolver to git-ls-files for consistency by @Thaumy in #2047
  • fix(filesystem): add link details to show_file_details command by @pynappo in #2049
  • fix(filesystem): follow_current_file logic error by @julianbuettner in #2053
  • chore: fix stylua link syntax in CONTRIBUTING.md by @Eyrim in #2057
  • ci: continue on error for nightly typechecking by @pynappo in #2060
  • fix: prefer nvim_win_resize over set_height/width by @pynappo in #2061
  • fix: skip reveal if parent of reveal file doesn't exist by @pynappo in #2062
  • fix: always let neo-tree open regardless of current buffer by @pynappo in #2063
  • fix(compat): use appropriate anchor for win_set_height wrapper by @pynappo in #2064
  • fix(commands): handle newlines in filenames when opening by @pynappo in #2059
  • fix(fs_actions): escape newlines for filename inputs on unix by @pynappo in #2065
  • ci: update mise tasks, use mise bootstrap by @pynappo in #2069
  • ci: run tests/language server checks only on source code changes by @pynappo in #2071
  • fix(git): use correct argument order for git_base callback by @pynappo in #2072
  • fix(document_symbols): correct diagnostic text sign shift by @Patrick-Beuks in #2075
  • miscellaneous upkeep tasks by @pynappo in #2077
  • fix(git): discover nested repositories without the file watcher by @ardaaltinors in #2074
  • fix(utils): fully flush job stdio streams before calling on_exit by @pynappo in #2079
  • ci: update stylua action to v5 by @pynappo in #2078
  • fix(buffers): safer buffer_delete, more intuitive events/docs by @pynappo in #2084
  • fix(commands): adjust invert_selection normal-mode behavior by @pynappo in #2086

New Contributors

Full Changelog: 3.41.0...3.42.0

3.41.0

Choose a tag to compare

@pynappo pynappo released this 15 May 11:35
83e7a29

Another qol/bugfix-focused set of patches. Notably fixes nightly 0.13 compatibility now that BufModifiedSet is removed.

What's Changed

New Contributors

Full Changelog: 3.40.0...3.41.0

3.40.0

Choose a tag to compare

@pynappo pynappo released this 28 Mar 01:06

Mostly bugfixes and QoL things. When I finish with the trash command PR i'll probably work towards changing defaults for a v4 as mentioned in the GitHub discussions.

What's Changed

  • fix(git): normalize worktree info properly for msys2 by @pynappo in #1993
  • feat(git): git_status_scope_to_path option for monorepo perf by @radekska in #1994
  • fix: set width of neotree pane when reopening modified buffer by @mwojick in #1998
  • fix(git): handle find_worktree_info git errors by @pynappo in #1999 and #2001
  • fix: reveal on open when follow_current_file by @pynappo in #2002
  • Fix move/rename follow-up after handled file events by @imkgh in #2003

New Contributors

  • @radekska made their first contribution in #1994
  • @mwojick made their first contribution in #1998
  • @imkgh made their first contribution in #2003

Full Changelog: 3.39.0...3.40.0

3.39.0

Choose a tag to compare

@pynappo pynappo released this 26 Feb 11:06
ba6871d

What's Changed

  • feat(ignore): support relative paths for ignore_files by @pynappo in #1987
    • now you can add e.g. .nvim/neotreeignore to your ignore_files config, if you like to keep all project-specific neovim configs in there.
  • feat(fs_actions): file completion for vim.ui.input by @parisni in #1635
    • I didn't test this on Windows but this should make it much easier for users to figure out what directory their actions are based from. I will likely deprecate the built-in Neo-tree popups in the next major version.
  • feat(document_symbols): add symbol preview and follow selection by @jensenojs in #1979
    • Docs should prob be improved here, but basically this lets you more easily setup an auto-preview-like mode for document_symbols where scrolling through the sidebar will scroll through the document symbols in the actual buffer.
  • feat(command): state config overrides via command.execute() by @pynappo in #1926
    • Not sure how well this works, but now you can set bind_to_cwd (or any other source-specific settings) for a single state only.
  • feat(events): add BEFORE_GIT_STATUS event by @pynappo in #1948
  • feat(symlink_target): add target_display config option by @elohmeier in #1609

Refactored the git system to be more versatile, unfortunately I broke it a few times (sorry about that!) but thanks to those who contributed fixes!

Now neo-tree will properly display partially staged files, track every open repo in the filetree, and git parsing should also be generally faster now (although it's hard to tell if performance is better - I believe that still needs a rendering overhaul to resolve).

  • refactor(git): use --porcelain(=v2), partial stage support by @pynappo in #1892
  • refactor(git): decouple git statuses from states, fix bubbling by @pynappo in #1943
  • refactor(git): more worktree info, ignore/untracked fix, cache by @pynappo in #1951
  • refactor(git): store worktree info, track all repos in filetree by @pynappo in #1958
  • feat(commands): add git_toggle_file_stage cmd by @pynappo in #1939

Fixes

  • perf(utils): faster split_path by @pynappo in #1902
  • fix(renderer): don't show (git)ignored if hidden by other ignore by @pynappo in #1928
  • fix(ui): resolve linked highlight groups by @kanna5 in #1929
  • fix(git): off-by-one error and keep parent status to 1 char by @pynappo in #1938
  • perf(utils): faster is_subpath by @pynappo in #1940
  • fix(utils): is_subpath root path edge case by @pynappo in #1942
  • fix(git): parse ignored statuses correctly by @pynappo in #1944
  • fix(components): don't render git_status component for messages by @pynappo in #1945
  • ci: refactor to using mise by @pynappo in #1946
  • fix(utils): update broken table_move call site after refactor by @aitorciki in #1949
  • fix(filter): refresh on submit for filter_on_submit by @pynappo in #1952
  • fix(git): propagate untracked/ignored status visual to children by @pynappo in #1953
  • fix(git): prevent untracked from applying to siblings by @pynappo in #1955
  • fix(file-items): ensure parent directories have children table by @junqizhang in #1956
  • fix(git_status): correct untracked directory and file items by @pynappo in #1957
  • fix(git): support git base again by @pynappo in #1959
  • fix(git): finish refactor in mark_gitignored by @pynappo in #1963
  • Fix(git): next_git_modified broken by @ShIRannx in #1961
  • fix(renderer): save position on neo-tree window scrolled by @Thaumy in #1960
  • fix(git): upkeep watcher refs, enable watch for sync git_status by @xieyonn in #1965
  • fix(git): process GIT_EVENT for git_status_async again by @xieyonn in #1966
  • fix(git_status): add statuses from git_base again by @pynappo in #1969
  • fix(checkhealth): add all supported types for win width/height by @pynappo in #1972
  • fix(utils): make env expansion for path normalizing opt-in by @pynappo in #1974
  • chore(ignore): remove dead code by @figsoda in #1981
  • fix(ignore): only ignore files that are actually ignored by @figsoda in #1980
  • fix(git): handle rename and copy codes in diff name status parser by @ahmedalhulaibi in #1982
  • fix(document_symbols): call navigate cb after symbols retrieved by @pynappo in #1983
  • test: wait timeouts and treesitter by @pynappo in #1988
  • ci: increase timeouts and intervals by @pynappo in #1989

New Contributors

Full Changelog: 3.38.0...3.39.0

3.38.0

Choose a tag to compare

@pynappo pynappo released this 06 Nov 22:18
f3df514

New Features

  • feat(clipboard): global/universal sync, clear_clipboard cmd by @pynappo in #1800

By default, this is disabled.

With clipboard.sync = "global", you can copy-paste files across Neo-tree windows in the same instance.

With clipboard.sync = "universal", you can copy-paste files across all Neo-tree windows on your machine. As this relies on saving the clipboard as a JSON file, your clipboard will also persist across Neovim instances - use <C-r> to clear it if you'd like.

Read :h neo-tree-clipboard-sync if you're interested in learning about how to implement your own backend.

This works like g:netrw_altfile, and is likewise false by default. If keep_altfile = true, the altfile will remain as whatever file you opened before switching into Neo-tree.

Fixes/misc:

  • docs: clipboard event & formatting fixes by @pynappo in #1909
  • fix(source_selector): check for tree before getting node text by @pynappo in #1913
  • fix: tilde expansion for path reveal and normalize by @pynappo in #1916
  • fix(filesystem): remove forced focus on submit by @pynappo in #1918
  • fix(renderer): attach position autocmds to all neo-tree buffers by @pynappo in #1920
  • fix(utils): handle error when getting username info by @pynappo in #1923
  • fix(utils): handle libuv fail when getting username info by @pynappo in #1924

Full Changelog: 3.37.3...3.38.0

3.37.3

Choose a tag to compare

@pynappo pynappo released this 21 Oct 10:08
8cdd6b1

What's Changed

  • fix(parser): expand paths again by @pynappo in #1904
  • fix(renderer): save position properly on initial open by @pynappo in #1907
  • fix(git_status): set item.status only on successful creation by @moetayuko in #1906

New Contributors

Full Changelog: 3.37.2...3.37.3

3.37.2

Choose a tag to compare

@pynappo pynappo released this 13 Oct 20:52
c4c168e

What's Changed

Full Changelog: 3.37.1...3.37.2

3.37.1

Choose a tag to compare

@pynappo pynappo released this 10 Oct 08:13
4c60a19

What's Changed

  • fix(utils): correct split_path logic for windows root dirs by @pynappo in #1895
  • docs(config): correct tabs_layout options by @sahinakkaya in #1893
  • fix(renderer): pause position saving on WinEnter until restore by @pynappo in #1896

New Contributors

Full Changelog: 3.37.0...3.37.1

3.37.0

Choose a tag to compare

@pynappo pynappo released this 07 Oct 23:36
0c29e37

What's Changed

New Feature

  • feat(common): option for filenames/icons to ignore filtered hls by @pynappo in #1887

For example, setting default_component_configs.icon.use_filtered_colors = false will cause filtered items to keep their icon colors:

image

Fixes

  • meta: write out full semantic version (X.Y.Z) for releases and git tags
  • fix(log): remove file attribute on close by @pynappo in #1885
  • fix(filesystem): normalize path for item creation by @pynappo in #1886
  • fix(defaults): set icons to use filtered highlights as before by @pynappo in #1890
  • docs(README): dependency install instructions for vim.pack by @pynappo in #1891

Full Changelog: 3.36.2...3.37.0

3.36.2

Choose a tag to compare

@pynappo pynappo released this 06 Oct 20:14
f14ac20

What's Changed