Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-clangd / package.json
1 {
2   "name": "coc-clangd",
3   "version": "0.4.11",
4   "description": "clangd extension for coc.nvim",
5   "author": "Heyward Fann <fannheyward@gmail.com>",
6   "license": "Apache-2.0 WITH LLVM-exception",
7   "main": "lib/index.js",
8   "keywords": [
9     "coc.nvim"
10   ],
11   "engines": {
12     "coc": "^0.0.70"
13   },
14   "repository": {
15     "type": "git",
16     "url": "https://github.com/clangd/coc-clangd.git"
17   },
18   "scripts": {
19     "clean": "rimraf lib",
20     "watch": "webpack --watch",
21     "build": "webpack",
22     "lint": "eslint src --ext ts",
23     "prepare": "npm-run-all clean build"
24   },
25   "devDependencies": {
26     "@clangd/install": "^0.1.3",
27     "@types/node": "^14.0.12",
28     "@types/which": "^1.3.2",
29     "@typescript-eslint/eslint-plugin": "^3.2.0",
30     "@typescript-eslint/parser": "^3.2.0",
31     "coc.nvim": "^0.0.77",
32     "eslint": "^7.2.0",
33     "eslint-config-prettier": "^6.11.0",
34     "eslint-plugin-prettier": "^3.1.3",
35     "husky": "^4.2.5",
36     "npm-run-all": "^4.1.5",
37     "prettier": "^2.0.5",
38     "rimraf": "^3.0.1",
39     "ts-loader": "^7.0.5",
40     "typescript": "^3.9.5",
41     "vscode-languageserver-protocol": "^3.15.3",
42     "webpack": "^4.43.0",
43     "webpack-cli": "^3.3.11"
44   },
45   "husky": {
46     "hooks": {
47       "pre-push": "yarn lint"
48     }
49   },
50   "activationEvents": [
51     "onLanguage:c",
52     "onLanguage:cpp",
53     "onLanguage:cuda",
54     "onLanguage:objc",
55     "onLanguage:objcpp",
56     "onLanguage:arduino",
57     "onLanguage:objective-c",
58     "onLanguage:objective-cpp",
59     "workspaceContains:**/compile_commands.json",
60     "workspaceContains:**/compile_flags.txt"
61   ],
62   "contributes": {
63     "configuration": {
64       "type": "object",
65       "title": "coc-clangd configuration",
66       "properties": {
67         "clangd.enabled": {
68           "type": "boolean",
69           "default": true,
70           "description": "Enable coc-clangd extension"
71         },
72         "clangd.disableDiagnostics": {
73           "type": "boolean",
74           "default": false,
75           "description": "Disable diagnostics from clangd"
76         },
77         "clangd.disableSnippetCompletion": {
78           "type": "boolean",
79           "default": false,
80           "description": "Disable completion snippet from clangd"
81         },
82         "clangd.path": {
83           "type": "string",
84           "default": "clangd",
85           "description": "The path to clangd executable, e.g.: /usr/bin/clangd"
86         },
87         "clangd.arguments": {
88           "type": "array",
89           "default": [],
90           "items": {
91             "type": "string"
92           },
93           "description": "Arguments for clangd server"
94         },
95         "clangd.fallbackFlags": {
96           "type": "array",
97           "items": {
98             "type": "string"
99           },
100           "default": [],
101           "description": "Extra clang flags used to parse files when no compilation database is found."
102         },
103         "clangd.semanticHighlighting": {
104           "type": "boolean",
105           "default": false,
106           "description": "Enable semantic highlighting in clangd, requires jackguo380/vim-lsp-cxx-highlight to work"
107         },
108         "clangd.showDBChangedNotification": {
109           "type": "boolean",
110           "default": true,
111           "description": "Show notifications while DB files changed"
112         },
113         "clangd.checkUpdates": {
114           "type": "boolean",
115           "default": false,
116           "description": "Check for clangd language server updates on startup."
117         },
118         "suggest.detailMaxLength": {
119           "type": "number",
120           "description": "Max length of detail that should be shown in popup menu.",
121           "default": 50
122         },
123         "diagnostic.format": {
124           "type": "string",
125           "description": "Define the diagnostic format. Available parts: source, code, severity, message",
126           "default": "%message\n[%source:%code]"
127         }
128       }
129     },
130     "commands": [
131       {
132         "command": "clangd.switchSourceHeader",
133         "title": "Switch between source/header"
134       },
135       {
136         "command": "clangd.symbolInfo",
137         "title": "Resolve symbol info under the cursor"
138       },
139       {
140         "command": "clangd.install",
141         "title": "Install latest clangd language server binary release"
142       },
143       {
144         "command": "clangd.update",
145         "title": "Check for updates to clangd language server"
146       }
147     ]
148   }
149 }