Skip to content

Commit

Permalink
perf(nvim-tree): use prefer_startup_root
Browse files Browse the repository at this point in the history
  • Loading branch information
liubang committed Nov 30, 2023
1 parent ffacc45 commit d42d64e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lua/plugins/nvim_tree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ return {
auto_reload_on_write = false,
create_in_closed_folder = false,
disable_netrw = false,
hijack_cursor = true,
hijack_cursor = false,
hijack_netrw = true,
hijack_unnamed_buffer_when_opening = true,
open_on_tab = false,
respect_buf_cwd = false,
sort_by = "name",
sync_root_with_cwd = false,
prefer_startup_root = true,
hijack_unnamed_buffer_when_opening = false,
view = {
adaptive_size = false,
centralize_selection = false,
Expand Down Expand Up @@ -98,15 +99,14 @@ return {
special_files = { "Cargo.toml", "Makefile", "README.md", "readme.md", "CMakeLists.txt" },
symlink_destination = true,
indent_markers = {
enable = true,
enable = false,
icons = {
corner = "",
edge = "",
item = "",
none = " ",
},
},
root_folder_label = ":.:s?.*?/..?",
icons = {
webdev_colors = true,
git_placement = "after",
Expand Down

0 comments on commit d42d64e

Please sign in to comment.