Skip to content

Release v2.0

Compare
Choose a tag to compare
@cseickel cseickel released this 24 Mar 22:54
· 363 commits to v2.x since this release
v2.0
45c724f

Breaking Changes

  • Changed Diagnostic sign lookup and highlights from old style "LspDiagnosticsWarning" to the new style "DiagnosticWarn"
  • Changed default copy_to_clipboard_copy mapping from c to y

Deprecations

  • All NeoTree* commands have been deprecated, switch to the new Neotree command
  • The filesystem.filters option has been deprecated, please use filesystem.filtered_items instead.
    • The show_hidden option has been deprecated, please use hide_dotfiles instead.
    • The respect_gitignore option has been deprecated, please use hide_gitignored instead.
  • The position previously known as "split" has been renamed to "current"
    • The filesystem.hijack_netrw_behavior="open_split" option has been renamed to "open_current".
    • The window.position="split" options has been changed to window.position="current"
    • :NeoTreeShowInSplit becomes :Neotree show current
  • All lua methods in the neo-tree module for opening the tree have been deprecated, use the :Neotree command or neo-tree.command.execute() instead.
  • neo-tree.utils.table_copy has been deprecated, use vim.deepcopy instead
  • neo-tree.utils.table_merge has been deprecated, use vim.tbl_deep_extend("force", base_table, override_table) instead
  • Other methods may have been deprecated, please check the source for the method(s) you are using.

New Features

  • Added file nesting feature, allows to group related files such as a .ts with it's compiled .js
  • Added new :Neotree command which supersedes all of the prior commands with a single flexible cli style interface
  • Added new git_status icons
  • Allow window options, including mappings, to be defined at globally at the root level of the config
  • Allow renderers to be defined globally at the root level of the config.
  • filesystem.find_args can now be defined as a mapping of cmd = { args, to, pass }, to ensure the right format is used for the command available on your current system. The old style of a simple array is also acceptable.
  • Improved filesystem.filtered_items config to clarify the options.
    • Added hide_by_name and never_show options to filtered_items
    • Added ability to toggle visibility of "filtered" items but show them in a different highlight group (grey by default)
  • NeoTreeDirectoryName and NeoTreeDirectoryIcon highlight groups now link to Directory by default
  • "fuzzy_finder" search will now auto select the first file in the search results.