edkolev / promptline.vim

Generate a fast shell prompt with powerline symbols and airline colors
MIT License
625 stars 54 forks source link

Fix rtp not including packages in neovim #87

Closed Qusic closed 2 years ago

Qusic commented 2 years ago

Based on nvim docs:

Package entries are not visible in :set rtp or echo &rtp, as the final concatenated path would be too long and get truncated.

Thus we will have to use nvim_get_runtime_file to support installing this as a package in nvim.

I am not familiar with vim script, so please help comment if my code is not idiomatic. Thanks!