Open zcsh0721 opened 8 months ago
Description
I'm tyro. I'm currently studying this project. I found some duplicate code, I'm not sure if it's correct.
To Reproduce
Here are the steps to reproduce the behavior using MINRC:
Expected behavior
What is expected to happen:
Screenshots
git rev-parse --show-toplevel
Can the paths obtained by vim.loop.cwd() and fn.fnamemodify(fn.resolve(fn.expand('%:p')) be different?
vim.loop.cwd()
fn.fnamemodify(fn.resolve(fn.expand('%:p'))
step 3. Is the root parameter redundant? string.format has three parameters and only one '%s'
If it's my lack of ability that bothers you, please forgive me
Desktop (please complete the following information):
main branch
Description
I'm tyro. I'm currently studying this project. I found some duplicate code, I'm not sure if it's correct.
To Reproduce
Here are the steps to reproduce the behavior using MINRC:
Expected behavior
What is expected to happen:
Screenshots
git rev-parse --show-toplevel
)Can the paths obtained by
vim.loop.cwd()
andfn.fnamemodify(fn.resolve(fn.expand('%:p'))
be different?step 3. Is the root parameter redundant? string.format has three parameters and only one '%s'
If it's my lack of ability that bothers you, please forgive me
Desktop (please complete the following information):
main branch