make linking of default groups for tree style and add docs

This commit is contained in:
kiyan42
2020-04-03 11:50:14 +02:00
parent 658e2100eb
commit c003626dee
7 changed files with 26 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ local function open()
api.nvim_command('vertical resize '..WIN_WIDTH)
api.nvim_win_set_buf(0, buf)
api.nvim_command('setlocal winhighlight=EndOfBuffer:LuaTreeEndOfBuffer')
api.nvim_command('setlocal winhighlight=EndOfBuffer:LuaTreeEndOfBuffer,Normal:LuaTreeNormal,CursorLine:LuaTreeCursorLine,VertSplit:LuaTreeVertSplit')
for _, opt in pairs(BUF_OPTIONS) do
api.nvim_command('setlocal '..opt)
end