Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treating PKGBUILD as bash files #473

Closed
WhyNotHugo opened this issue Aug 2, 2022 · 4 comments
Closed

Treating PKGBUILD as bash files #473

WhyNotHugo opened this issue Aug 2, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@WhyNotHugo
Copy link

PKGBUILDs are basically bash scripts. bashls errors:

SC2148: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.

Can I somehow indicate to the language server when starting is "this file is a bash script"? Perhaps a cli flag?

@awerty-noob
Copy link

Same problem, and also a bunch of

SC2034: xxx(pkgrel, license, etc. ) appears unused. ......

but those values are necessary for PKGBUILD.

@adoyle-h
Copy link

It should be fixed by #536

@WhyNotHugo
Copy link
Author

Yeah, I think this would fix this issue.

The problem @StartNoob will still be around, but that sounds like a separate issue, and I'm not sure how to address it.

@skovhus
Copy link
Collaborator

skovhus commented Nov 25, 2022

@WhyNotHugo did you try the latest language server?

@skovhus skovhus added the enhancement New feature or request label Nov 25, 2022
@skovhus skovhus closed this as completed Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants