{
  "id": "neovim",
  "name": "Neovim",
  "homepage": "https://neovim.io",
  "description": "Vim refactored around Lua configuration, a built-in LSP client and an embeddable core.",
  "icon": "theSVG:neovim",
  "executables": [
    "nvim"
  ],
  "dotfiles": {
    "paths": [
      "~/.config/nvim/",
      "%LOCALAPPDATA%/nvim/"
    ],
    "exclude": [
      "~/.config/nvim/spell/",
      "~/.config/nvim/plugin/packer_compiled.lua",
      "%LOCALAPPDATA%/nvim/spell/",
      "%LOCALAPPDATA%/nvim/plugin/packer_compiled.lua",
      "[xdgData]/nvim/",
      "~/.local/state/nvim/",
      "[xdgCache]/nvim/"
    ],
    "secret": []
  },
  "commands": {
    "format": 1,
    "label": "Open files in Neovim",
    "description": "Start nvim on one or more files with common startup flags. Remote/RPC, --embed and swap-file recovery modes are left out.",
    "quality": "ai-draft",
    "base": "fig:nvim",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/nvim.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "files",
        "label": "Files",
        "type": "path",
        "position": 0,
        "multiple": true,
        "path": {
          "kind": "file",
          "role": "input",
          "must_exist": false
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "readonly",
        "label": "Read-only",
        "type": "boolean",
        "option": [
          "-R"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "diff",
        "label": "Diff mode",
        "type": "boolean",
        "option": [
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_swap",
        "label": "No swap file",
        "type": "boolean",
        "option": [
          "-n"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_modify",
        "label": "Disallow writing files",
        "type": "boolean",
        "option": [
          "-m"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "command",
        "label": "Command after load",
        "description": "Ex command to run after the config and first file are loaded.",
        "type": "string",
        "option": [
          "-c"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "option": [
          "-u"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "session",
        "label": "Session to source",
        "type": "path",
        "option": [
          "-S"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "noplugin",
        "label": "Do not load plugins",
        "type": "boolean",
        "option": [
          "--noplugin"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "headless",
        "label": "Headless (no UI)",
        "type": "boolean",
        "option": [
          "--headless"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "edit",
        "label": "Edit files",
        "fields": [
          "files",
          "command"
        ],
        "required": []
      },
      {
        "id": "view",
        "label": "View read-only",
        "fields": [
          "files"
        ],
        "required": [],
        "set": {
          "readonly": [
            true
          ]
        }
      },
      {
        "id": "diff",
        "label": "Diff files",
        "fields": [
          "files"
        ],
        "required": [
          "files"
        ],
        "set": {
          "diff": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "files",
          "readonly",
          "diff",
          "no_swap",
          "command"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "no_modify",
          "config",
          "session",
          "noplugin",
          "headless"
        ]
      }
    ]
  }
}
