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

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

Open
mc-butler opened this issue Apr 25, 2019 · 7 comments
Open

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

mc-butler opened this issue Apr 25, 2019 · 7 comments
Assignees
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around

Comments

@mc-butler
Copy link

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:

@mc-butler
Copy link
Author

Changed by TerraNova (TerraTech@….com) on Apr 25, 2019 at 6:38 UTC

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 25, 2019 at 8:36 UTC (comment 1)

  • Description edited

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 25, 2019 at 8:40 UTC (comment 2)

  • Description edited

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 27, 2019 at 16:14 UTC (comment 3)

  • Milestone changed from Future Releases to 4.8.23
  • Owner set to andrew_b
  • Status changed from new to accepted

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 27, 2019 at 16:17 UTC (comment 4)

  • Branch state changed from no branch to merged
  • Votes set to committed-master
  • Resolution set to fixed
  • Status changed from accepted to testing

Thanks!

Applied as [91d6d55].

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Apr 27, 2019 at 16:19 UTC (comment 5)

  • Status changed from testing to closed

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Jun 6, 2020 at 17:16 UTC (comment 6)

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 4.8.23 to Future Releases
  • Votes committed-master deleted
  • Branch state changed from merged to no branch

Revert [91d6d55] because of #4054: [9311136].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcedit mcedit, the built-in text editor prio: low Minor problem or easily worked around
Development

No branches or pull requests

2 participants