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

Completion is broken when using curly braces in shell scripts #57

Open
hermitmaster opened this issue Nov 9, 2022 · 1 comment
Open

Comments

@hermitmaster
Copy link

Completion is broken when using curly braces in shell scripts. export XDG_CONFIG_HOME="${HOME}/" for example, offers completions from the root of the filesystem. If I remove the curly braces, it works as expected.

@ediw8311xht
Copy link

ediw8311xht commented Aug 15, 2024

Yeah, this is very annoying and goes against shellcheck standard of using curly braces with variables.

See Shellcheck SC2250:

Prefer putting braces around variable references even when not strictly required.

Working on making a pull request, but I don't know Lua at all, so it may be a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants