Leveraging Vim autocmd recursion and a:filepath sometimes caused issues (infinite recursion).
This PR implements an iterative resolve/expand algorithm. We still need to have nested so that the other autocommands trigger when we edit the final filepath (otherwise you would for example be missing syntax hightlighting).
Leveraging Vim autocmd recursion and
a:filepath
sometimes caused issues (infinite recursion).This PR implements an iterative resolve/expand algorithm. We still need to have
nested
so that the other autocommands trigger when we edit the final filepath (otherwise you would for example be missing syntax hightlighting).