vamolessa / pepper

simple and opinionated modal code editor for your terminal
https://vamolessa.github.io/pepper/
372 stars 17 forks source link

[Linux] plugin-lsp: invalid glob pattern #66

Closed Houkime closed 2 years ago

Houkime commented 2 years ago

A line in .pepper

lsp rust-analyzer "**.rs"

results in error:glob error: invalid glob at startup regardless of the file opened, and no LSP starts for .rs. This is the default line plugin-lsp recommends.

lsp rust-analyzer "*.rs"

Results in LSP starting up if and only if Pepper is called from the directory the file resides in.

Pepper was compiled from sources at a commit 3e55af8e8a8b277a9021714ad2ecc2c65654b8ac

Houkime commented 2 years ago

This error is also present in 0.27 tag.

vamolessa commented 2 years ago

Would you try using "**/*.rs" instead? It seems the documentation is really suggesting an invalid glob. I'll make sure it's updated in the next release.

vamolessa commented 2 years ago

will close as it was fixed. if you find further issues, please reopen!