Closed kohane27 closed 2 months ago
maybe use vim.tbl_contains
to check the title_pos
option ?
lua/nvim-tree-preview/config.lua
, line 36
assert(
({
'top-left',
'top-center',
'top-right',
'bottom-left',
'bottom-center',
'bottom-right',
})[M.config.title_pos],
'title_pos must be one of top-left, top-center, top-right, bottom-left, bottom-center, bottom-right'
)
this assumes title_pos
is an integer index, but it is not.
I have same issue too.
Sorry about the slow response! Should be fixed now.
@b0o Thank you for the fix. I can confirm the plugin is working now. Thank you!:)
Hello! Hope you're doing well. Thank you for maintaining this plugin.
I have the following error after an update:
My config:
Even if I set
title_pos = "top-left",
the error still persists.Using
commit = "e968df027d86797556e9bf5f1d5ffca87045150d",
has no issue.Thank you!