{
  "name": "coc-snippets",
  "version": "3.4.9",
  "description": "Snippets extension for coc.nvim",
  "main": "lib/index.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/neoclide/coc-snippets.git"
  },
  "publisher": "chemzqm",
  "keywords": [
    "coc.nvim",
    "snippets",
    "colors"
  ],
  "engines": {
    "coc": "^0.0.82"
  },
  "scripts": {
    "prepare": "node esbuild.js",
    "build": "node esbuild.js",
    "lint": "tsc -p tsconfig.json",
    "test": "npm run build && coc-test \"test/**/*.test.ts\"",
    "test:integration": "npm run build && coc-test \"test/**/*.test.ts\"",
    "test:integration:nvim": "npm run build && coc-test --nvim \"test/**/*.test.ts\"",
    "test:integration:vim": "npm run build && coc-test --vim \"test/**/*.test.ts\""
  },
  "coc-test": {
    "user-settings": {
      "snippets.ultisnips.pythonPrompt": false
    }
  },
  "activationEvents": [
    "*"
  ],
  "contributes": {
    "commands": [
      {
        "title": "Edit user's ultisnips snippets of current document filetype.",
        "command": "snippets.editSnippets"
      },
      {
        "title": "Choose and open a snippet file that used by current document.",
        "command": "snippets.openSnippetFiles"
      },
      {
        "title": "Open output channel of snippets.",
        "command": "snippets.openOutput"
      },
      {
        "title": "Create MassCode snippet for current filetype.",
        "command": "snippets.editMassCodeSnippets"
      },
      {
        "title": "Add additional snippet filetypes to current buffer.",
        "command": "snippets.addFiletypes"
      }
    ],
    "configuration": {
      "type": "object",
      "properties": {
        "snippets.priority": {
          "type": "number",
          "default": 90,
          "scope": "application",
          "description": "Completion source priority of snippets."
        },
        "snippets.editSnippetsCommand": {
          "type": "string",
          "default": "",
          "scope": "application",
          "description": "Open command used for snippets.editSnippets command, use coc.preferences.jumpCommand by default."
        },
        "snippets.trace": {
          "type": "string",
          "default": "error",
          "enum": [
            "error",
            "verbose"
          ],
          "scope": "application",
          "description": "Trace level of snippets channel, used for textmate snippets only."
        },
        "snippets.excludePatterns": {
          "type": "array",
          "default": [],
          "description": "List of minimatch patterns for filepath to exclude, support expand homedir and environment variables.",
          "items": {
            "type": "string"
          }
        },
        "snippets.loadFromExtensions": {
          "type": "boolean",
          "default": true,
          "scope": "application",
          "description": "Enable load snippets from extensions."
        },
        "snippets.textmateSnippetsRoots": {
          "type": "array",
          "default": [],
          "scope": "application",
          "description": "List of directories that contains textmate/VSCode snippets to load.",
          "items": {
            "type": "string"
          }
        },
        "snippets.loadVSCodeProjectSnippets": {
          "type": "boolean",
          "default": true,
          "scope": "application",
          "description": "Load code snippets in folder ${workspaceFolder}/.vscode"
        },
        "snippets.extends": {
          "type": "object",
          "default": {},
          "scope": "application",
          "description": "Configure filetypes to inherit with, ex: {\"cpp\": [\"c\"], \"javascriptreact\": [\"javascript\"]}"
        },
        "snippets.userSnippetsDirectory": {
          "type": "string",
          "default": "",
          "scope": "application",
          "description": "Directory that contains custom user ultisnips snippets, use ultisnips in extension root of coc.nvim by default."
        },
        "snippets.shortcut": {
          "type": "string",
          "default": "S",
          "scope": "application",
          "description": "Shortcut in completion menu."
        },
        "snippets.triggerCharacters": {
          "type": "array",
          "default": [],
          "scope": "application",
          "description": "Trigger characters for trigger snippets completion.",
          "items": {
            "type": "string"
          }
        },
        "snippets.disableSyntaxes": {
          "type": "array",
          "default": [],
          "description": "Disable snippets completion when syntax name matches one of disabled syntaxes.",
          "scope": "application",
          "items": {
            "type": "string"
          }
        },
        "snippets.execContext": {
          "type": "boolean",
          "default": false,
          "description": "Execute a snippet's context (if it exists) to check if the snippet should be shown in completion menu"
        },
        "snippets.autoTrigger": {
          "type": "boolean",
          "default": true,
          "description": "Enable trigger auto trigger snippet after type character."
        },
        "snippets.ultisnips.enable": {
          "type": "boolean",
          "default": true,
          "description": "Enable load snippets from ultisnips folders."
        },
        "snippets.ultisnips.pythonPrompt": {
          "type": "boolean",
          "default": true,
          "description": "Show prompt for user when python not supported on vim."
        },
        "snippets.ultisnips.trace": {
          "type": "boolean",
          "default": false,
          "description": "Trace verbose snippet information."
        },
        "snippets.ultisnips.directories": {
          "type": "array",
          "default": [
            "UltiSnips"
          ],
          "description": "Directories that searched for ultisnips snippet files, could be directory as subfolder in $runtimepath or absolute paths.",
          "items": {
            "type": "string"
          }
        },
        "snippets.massCode.enable": {
          "type": "boolean",
          "default": false,
          "description": "Enable load snippets from MassCode."
        },
        "snippets.massCode.host": {
          "type": "string",
          "default": "localhost",
          "description": "Http host of MassCode."
        },
        "snippets.massCode.port": {
          "type": "number",
          "default": 3033,
          "description": "Http port of MassCode."
        },
        "snippets.massCode.trace": {
          "type": "boolean",
          "default": false,
          "description": "Trace verbose snippet information."
        },
        "snippets.snipmate.enable": {
          "type": "boolean",
          "default": true,
          "description": "Load snipmate snippets from snippets directory in runtimepath."
        },
        "snippets.snipmate.trace": {
          "type": "boolean",
          "default": false,
          "description": "Trace verbose snippet information."
        },
        "snippets.snipmate.author": {
          "type": "string",
          "default": "",
          "description": "Author name used for g:snips_author"
        }
      }
    }
  },
  "author": "chemzqm@gmail.com",
  "license": "MIT",
  "devDependencies": {
    "@types/node": "^20.19.39",
    "coc-test": "^0.1.2",
    "coc.nvim": "^0.0.83-next.25",
    "esbuild": "^0.25.0",
    "jsonc-parser": "^3.0.0",
    "merge": "^2.1.1",
    "minimatch": "^5.1.8",
    "typescript": "^6.0.3"
  }
}
