{
  "id": "helix",
  "name": "Helix",
  "homepage": "https://helix-editor.com",
  "description": "A post-modern modal text editor.",
  "icon": "SimpleIcons:helix",
  "executables": [
    "hx"
  ],
  "dotfiles": {
    "paths": [
      "[configHome]/helix/"
    ],
    "exclude": [
      "[configHome]/helix/runtime/"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Edit with Helix",
    "description": "Open files in Helix or run its setup checks. Fetching or building grammars is covered; the api, bug and completion helpers are not.",
    "quality": "ai-draft",
    "base": "fig:hx",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/hx.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files",
        "description": "Files to open; file:line:col is not covered here.",
        "type": "path",
        "position": 0,
        "path": {
          "kind": "file",
          "role": "input"
        },
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "health",
        "label": "Health check",
        "description": "Check setup for one language (for example rust).",
        "type": "string",
        "option": [
          "--health"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "tutor",
        "label": "Open tutorial",
        "type": "boolean",
        "option": [
          "--tutor"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "grammar",
        "label": "Grammars",
        "type": "string",
        "option": [
          "--grammar",
          "-g"
        ],
        "description": "Fetch or build tree-sitter grammars.",
        "suggestions": [
          {
            "value": "fetch",
            "label": "Fetch"
          },
          {
            "value": "build",
            "label": "Build"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbosity",
        "type": "count",
        "option": [
          "-v"
        ],
        "description": "Increase logging verbosity.",
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "edit",
        "label": "Edit files",
        "fields": [
          "files"
        ],
        "required": []
      },
      {
        "id": "health",
        "label": "Check a language",
        "fields": [
          "health"
        ],
        "required": [
          "health"
        ]
      },
      {
        "id": "tutor",
        "label": "Tutorial",
        "fields": [
          "tutor"
        ],
        "required": [],
        "set": {
          "tutor": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "health",
          "tutor"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "grammar",
          "verbose"
        ]
      }
    ]
  }
}
