Skip to content

[PATCH] sh.syntax: Allow for indented 'function' highlighting #3981

@mc-butler

Description

@mc-butler

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3981
Reporter TerraNova (TerraTech@….com)

This will allow for the following:

  if want_foo; then
      function foobar() {
          echo "foo"
      }
  else
      function foobar() {
          echo "bar"
      }
  fi
  foobar

Note

Original attachments:

Metadata

Metadata

Assignees

Labels

area: mceditmcedit, the built-in text editorprio: lowMinor problem or easily worked around

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions