{
  "name": "coc-diff",
  "version": "0.1.0",
  "description": "Diff/patch language server support for coc.nvim",
  "main": "lib/index.js",
  "files": [
    "lib"
  ],
  "engines": {
    "coc": "^0.0.80"
  },
  "keywords": [
    "coc.nvim",
    "diff",
    "patch",
    "lsp"
  ],
  "author": "Jelmer Vernooij",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/jelmer/diff-lsp"
  },
  "homepage": "https://github.com/jelmer/diff-lsp#readme",
  "bugs": {
    "url": "https://github.com/jelmer/diff-lsp/issues"
  },
  "activationEvents": [
    "onLanguage:diff"
  ],
  "contributes": {
    "configuration": {
      "type": "object",
      "title": "coc-diff configuration",
      "properties": {
        "diff.enable": {
          "type": "boolean",
          "default": true,
          "description": "Enable diff language server"
        },
        "diff.serverPath": {
          "type": "string",
          "default": "diff-lsp",
          "description": "Path to diff-lsp executable"
        }
      }
    },
    "semanticTokenTypes": [
      {
        "id": "diffFileHeader",
        "superType": "namespace",
        "description": "Diff file header (--- / +++ lines)"
      },
      {
        "id": "diffHunkHeader",
        "superType": "keyword",
        "description": "Diff hunk header (@@ ... @@ lines)"
      },
      {
        "id": "diffAddedLine",
        "superType": "string",
        "description": "Added line (+ prefix)"
      },
      {
        "id": "diffDeletedLine",
        "superType": "operator",
        "description": "Deleted line (- prefix)"
      },
      {
        "id": "diffContextLine",
        "superType": "comment",
        "description": "Context line (space prefix)"
      }
    ],
    "semanticTokenScopes": [
      {
        "language": "diff",
        "scopes": {
          "diffFileHeader": ["meta.diff.header"],
          "diffHunkHeader": ["meta.diff.range"],
          "diffAddedLine": ["markup.inserted.diff"],
          "diffDeletedLine": ["markup.deleted.diff"],
          "diffContextLine": ["markup.unchanged.diff"]
        }
      }
    ]
  },
  "scripts": {
    "build": "tsc -p .",
    "watch": "tsc -p . -w",
    "test": "jest",
    "test:watch": "jest --watch"
  },
  "devDependencies": {
    "@types/node": "^12.12.0",
    "@types/jest": "^29.0.0",
    "coc.nvim": "^0.0.82",
    "jest": "^29.0.0",
    "ts-jest": "^29.0.0",
    "typescript": "^4.9.0"
  }
}
