Closed oneslash closed 1 year ago
I cannot reproduce it.
Does it happen with other file name as well?
Your screen shot does not show the left end of the buffer. How far is the indentation?
It would be very nice if you could provide more details.
i think I have found a pattern here. This bug, in my case, always affects the last folder's items in a folder tree. So in the above example, if another folder is created under 'INFLUX', that will come after 'production' I am pretty sure the main.tf will shift right under it's parent folder.
Little demonstartion: b.js is not indented.
However if I create another file or folder after B, it will be indented.
or
@alptibet good catch, yes indeed it works well if I create another file or folder.
i think I have found a pattern here
@alptibet Thanks a lot for the detailed explanation and screenshots. But I still cannot reproduce this error...
Could you send your config options for neo-tree you are using now? (CC @oneslash)
I'm also wondering how you managed to bring src
folder at the same indent as ~/DEV/test
. I thought that option was deleted quite some time ago.
@pysan3, hi thank you 🙏
I use vanilla Astronvim config, https://github.com/AstroNvim/AstroNvim/blob/main/lua/plugins/neo-tree.lua
@oneslash
Quick update. Thanks for the link and I was able to reproduce the error.
The cause was this line and I will look into how to fix it.
@pysan3 , sorry for late response. I also use vanilla astronvim config.
Thanks for both of you guys.
I was able to diagnose the error and will fix it when I've got time. Please wait till this weekend or so ;)
@pysan3, thank you very much!
@pysan3, thank you!
Closing with #977
I am working on a project where the file
main.tf
is located in the following pathAWS/eu-west-1/INFLUX/production/main.tf
.The tree renders
main.tf
as it is on the same level asproduction
folder