File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
lua/neo-tree/sources/buffers Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ local utils = require("neo-tree.utils")
1717local M = {}
1818
1919M .name = function (config , node , state )
20- local highlight = config .highlight or highlights .FILE_NAME
20+ local highlight = config .highlight or highlights .FILE_NAME_OPENED
2121 local name = node .name
2222 if node .type == " directory" then
2323 if node :get_depth () == 1 then
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ local filesystem = {
2222 -- ["<C-x>"] = "clear_filter",
2323 }
2424 },
25+ bind_to_cwd = true ,
2526 before_render = function (state )
2627 -- This function is called after the file system has been scanned,
2728 -- but before the tree is rendered. You can use this to gather extra
You can’t perform that action at this time.
0 commit comments