Skip to content

multi-line command for shell-session #2871

@FranklinYu

Description

@FranklinYu

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions