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:
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 usesget_project_root
and simply uses regex to take the directory name.A snazzy screenshot of lualine working nicely with the API: