FractalBoy / perl-language-server

100 stars 12 forks source link

Support for ~ in various VS Code options? #138

Open fgimian opened 1 year ago

fgimian commented 1 year ago

Hey there, just a little request if I may.

I noticed that the pls.syntax.perl settings requires an absolute path and doesn't support expanding the user home with ~. I'm not sure if other settings are similarly affected.

Having the ability to expand user home with ~ would be quite nice and a bit neater than hardcoding user home directories when installing Perl versions with tools like perlbrew, plenv, asdf or rtx.

Huge thanks Fotis

FractalBoy commented 1 year ago

Most if not all other settings expand tilde. I'll do the same for perl. Guess I never thought it would be used for perl, even though I use perlbrew.

fgimian commented 1 year ago

Amazing stuff, thank you so much @FractalBoy!

FractalBoy commented 1 year ago

Fixed in effc7153f23882a128c6af7292b33cb6ab9ad5ae