Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

powerline_npm.lua adds extra λ #55

Open
dmwyatt opened this issue Mar 23, 2019 · 2 comments
Open

powerline_npm.lua adds extra λ #55

dmwyatt opened this issue Mar 23, 2019 · 2 comments

Comments

@dmwyatt
Copy link

dmwyatt commented Mar 23, 2019

https://i.imgur.com/CDrRkww.png

If I am in a folder that is actually an npm package, that extra lambda disappears and everything works correctly.

I confirmed that this was likely due to powerline_npm.lua by removing it from my config directory and restarting cmder.

I can't quite figure this one out myself...

@CollinChaffin
Copy link

I have confirmed it is actually the new version of powerline_hg.lua causing this. I have not had the time to dig into it yet to determine why but a very quick diff shows all the refactoring including an init() that I believe is tacking on the prompt regardless of whether it is even that type. Rolling back to the prior version of powerline_hg.lua is obviously not the long-term solution since it needed the rewrite, but as a short-term fix if you are not worried so much about mercurial.

@dmwyatt
Copy link
Author

dmwyatt commented Apr 19, 2019

Yeah, if I remove powerline_hg.lua it fixes it. Odd, that removing powerline_npm.lua also fixes it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants