Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Anything with "fi" gets unindented, even if not scoped inside of an "if" #101

Open
@envygeeks

Description

@envygeeks

Prerequisites

Description

When typing anything with "fi" inside of Atom editor, with the Shellscript language enabled, it gets unindented to the next level. Which forces you to have to go to the beginning of the line and properly indent it.

Steps to Reproduce

  1. Open a file
  2. Set syntax to shellscript
  3. Press Tab
  4. Type fi

Expected behavior:

It not to unindent until a space happens... and only if within the context of an if. At minimum though I would expect it to wait until I finish typing and press space, because the find command is quite common in any shell script, this gets in the way quite a bit when working with scripts.

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