-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
<<< "..."
causes the entire file to be treated as string
#148
Comments
I typed your code cat /dev/stdin <<< "hello world"
# test
echo test into https://tree-sitter.github.io/tree-sitter/playground and it parses it correctly
|
@verhovsky Does the playground use the version 0.20.7 or bleeding edge? #140 was fixed in December, but the last release was in September as I just recognized. It could be that my issue is already covered by #140, but there was no update yet. |
Looks like it clones the master branch |
@verhovsky Since the playground confirms it is fixed in master, I assume it was fixed with #140. When is the next release planned btw? Thanks, I will close this and re-open if there are problems with the next release in that regard. |
See #134. For https://github.com/bash-lsp/bash-language-server we install from the main branch of tree-sitter-bash now. |
Thanks, I'm using coc.nvim for LSP stuff, though. I will wait for the release, it's not a blocker. @skovhus |
The command
cat /dev/stdin <<< "hello world"
causes the entire file to be treated as string:<<<
is used to pipe in direct text. This is useful when regular piping isn't working, i.e. on macOS when trying to source a downloaded script and passing arguments to it:This is probably related to #140, but it was not fixed for the
<<<
case.The text was updated successfully, but these errors were encountered: