bash-language-server
bash-language-server copied to clipboard
Bash IDE broken syntax highlighting
Code editor
vscode
Platform
Ubuntu 24.04
Version
No response
What steps will reproduce the bug?
No response
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior?
No response
What do you see instead?
next line breaks synxtax highlighting in the remaining part of file.
portmask=$(( portmask | (1 << $p) ))
Additional information
Bash IDE 1.43.0
No idea which version of the language server coz bash-language-server -v doesn't work
to be precise << breaks syntax
You probably want to report it here as this is what powers the syntax highlighting in vscode
https://github.com/microsoft/vscode-textmate
Here is the file:
https://github.com/microsoft/vscode-textmate/blob/main/test-cases/themes/syntaxes/Shell-Unix-Bash.tmLanguage.json
It's this that breaks it <<) and this might be why
https://github.com/microsoft/vscode-textmate/blob/main/test-cases/themes/syntaxes/Shell-Unix-Bash.tmLanguage.json#L306
ah thanks. I didn't know it's unrelated.