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

Do not trigger heredoc functionality within bash Arithmetic expansion with left shift operator #1167

Open
FolkerD0C opened this issue May 24, 2024 · 0 comments

Comments

@FolkerD0C
Copy link

Code editor

Visual Studio Code

Platform

Linux

Version

v1.41.0

What steps will reproduce the bug?

I write a bitwise left shift operator (<<) inside bash's arithmetic expansion $(( something << 2 )) which is the same operator that triggers the heredoc funcionality.

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior?

Do not treat the bitwise left shift operator as a heredoc, colors stay normal.

What do you see instead?

Everything below that line is one continuous string (colorwise), there are no distinct colors but LSP functionality is still working fine (eg. renaming, jumping to function)
bash_lsp_bug

Additional information

No response

@FolkerD0C FolkerD0C changed the title Do not trigger heredoc functionality within bash Arithmetic expansion with right shift operator Do not trigger heredoc functionality within bash Arithmetic expansion with left shift operator May 24, 2024
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

1 participant