project.nvim
project.nvim copied to clipboard
feat: Add get_current_project() API
I would like to see the name of the current project on my lueline , so I added get_current_project() to the API. Under the hood, it uses get_project_root and simply uses regex to take the directory name.
A snazzy screenshot of lualine working nicely with the API:
Yes, lets do this one!!
@D7ry I used your code and it works good. Thank you. For now I'm using my fork from this repo.