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

multi-line command for shell-session #2871

Closed
FranklinYu opened this issue Apr 22, 2021 · 0 comments · Fixed by #2872
Closed

multi-line command for shell-session #2871

FranklinYu opened this issue Apr 22, 2021 · 0 comments · Fixed by #2872

Comments

@FranklinYu
Copy link

Information

  • Language: shell-session
  • Plugins: none

Description

This is a feature request. If a command spans multiple lines, it would be appreciated if the continuation token (backslash before a newline) can be recognized.

Code snippet

Test page

The code being highlighted incorrectly.
fyu@home $ sudo ls -l ~/.config 's' && \
  echo 'hello'
drwxr-xr-x     - franklinyu 26 Sep  2020  asciinema
drwxr-xr-x     - franklinyu 26 Jan  2020  'bash'
hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants