vscode-textmate
vscode-textmate copied to clipboard
broken bash syntax highlighting
Hi I'm using vscode 1.102
some lines of bash break highlighting of all the following lines in the same bash file.
In my case I had
portmask=$(( portmask | (1 << $p) ))
which broke the highlighting
I thought it's a bash language server problem. But they redirected me here. See https://github.com/bash-lsp/bash-language-server/issues/1301
those files are just some old tests file that this repo has copied from the old shell grammar the newer grammar repo lives here https://github.com/jeff-hykin/better-shell-syntax VSCode uses a copy of them here https://github.com/microsoft/vscode/tree/main/extensions/shellscript
sadly it doesn't look like its gonna be fixed any time soon
dup:
- https://github.com/jeff-hykin/better-shell-syntax/issues/93
- https://github.com/jeff-hykin/better-shell-syntax/issues/104#issuecomment-2441566836
- https://github.com/microsoft/vscode/issues/215908
- https://github.com/microsoft/vscode/issues/219980
- https://github.com/microsoft/vscode/issues/227068
- https://github.com/microsoft/vscode/issues/228637
- https://github.com/microsoft/vscode/issues/237770
- https://github.com/microsoft/vscode/issues/245770