UNPKG

coc-tabnine

Version:

tabnine extension for coc.nvim

114 lines (113 loc) 3.24 kB
{ "name": "coc-tabnine", "version": "1.3.7", "description": "tabnine extension for coc.nvim", "main": "lib/index.js", "publisher": "chemzqm", "keywords": [ "coc.nvim", "tabnine" ], "engines": { "coc": "^0.0.80" }, "scripts": { "prepare": "node esbuild.js" }, "activationEvents": [ "*" ], "contributes": { "commands": [ { "title": "Open configuration file of Tabnine.", "command": "tabnine.openConfig" }, { "title": "Download latest version of Tabnine.", "command": "tabnine.updateTabNine" }, { "title": "Open Tabnine hub.", "command": "tabnine.openHub" } ], "configuration": { "type": "object", "properties": { "tabnine.shortcut": { "type": "string", "default": "TN", "description": "shortcut for tabnine source." }, "tabnine.triggers": { "type": "array", "default": [], "description": "Trigger characters for TabNine source", "items": { "type": "string" } }, "tabnine.limit": { "type": "number", "default": 10, "description": "Limit max completion item count from tabnine." }, "tabnine.enablePreselect": { "type": "boolean", "default": true, "description": "Enable preselect for first complete item returned from tabnine." }, "tabnine.priority": { "type": "number", "default": 999, "description": "Priority of tabnine source" }, "tabnine.filetypes": { "type": [ "array", null ], "default": null, "description": "Enabled filetypes for completion, default to all filetypes." }, "tabnine.binary_path": { "type": "string", "default": "", "description": "Use binary at specific path" }, "tabnine.disable_filetypes": { "type": "array", "default": [], "description": "Disable TabNine for configured filetypes." }, "tabnine.disable_file_regex": { "type": "array", "default": [], "description": "Disable TabNine when the file path contains a match of any of the provided regexes. For example, add \"[.]js$\" to disable TabNine in JavaScript files." }, "tabnine.disable_line_regex": { "type": "array", "default": [], "description": "Disable TabNine when the current line contains a match of any of the provided regexes. For example, add \"require\" to disable TabNine when the current line contains the word 'require'." } } } }, "author": "chemzqm@gmail.com", "license": "MIT", "devDependencies": { "@chemzqm/tsconfig": "^0.0.3", "@types/node": "^10.12.0", "@types/semver": "^6.0.2", "@types/fs-extra": "^9.0.6", "await-semaphore": "^0.1.3", "coc.nvim": "^0.0.81-next.1", "esbuild": "^0.8.29", "semver": "^6.2.0", "tunnel": "^0.0.6", "typescript": "^4.1.3", "fs-extra": "^9.0.1" }, "dependencies": {} }