Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-clangd / package.json
1 {
2   "name": "coc-clangd",
3   "version": "0.6.0",
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.14.2",
28     "@types/which": "^1.3.2",
29     "@typescript-eslint/eslint-plugin": "^4.5.0",
30     "@typescript-eslint/parser": "^4.5.0",
31     "coc.nvim": "^0.0.79",
32     "eslint": "^7.11.0",
33     "eslint-config-prettier": "^6.14.0",
34     "eslint-plugin-prettier": "^3.1.4",
35     "husky": "^4.3.0",
36     "npm-run-all": "^4.1.5",
37     "prettier": "^2.1.2",
38     "rimraf": "^3.0.1",
39     "ts-loader": "^8.0.6",
40     "typescript": "^4.0.3",
41     "vscode-languageserver-protocol": "^3.15.3",
42     "webpack": "^5.1.3",
43     "webpack-cli": "^4.1.0"
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   "rootPatterns": [
63     {
64       "patterns": [
65         "compile_commands.json",
66         "compile_flags.txt"
67       ]
68     }
69   ],
70   "contributes": {
71     "configuration": {
72       "type": "object",
73       "title": "coc-clangd configuration",
74       "properties": {
75         "clangd.enabled": {
76           "type": "boolean",
77           "default": true,
78           "description": "Enable coc-clangd extension"
79         },
80         "clangd.disableDiagnostics": {
81           "type": "boolean",
82           "default": false,
83           "description": "Disable diagnostics from clangd"
84         },
85         "clangd.disableSnippetCompletion": {
86           "type": "boolean",
87           "default": false,
88           "description": "Disable completion snippet from clangd"
89         },
90         "clangd.compilationDatabasePath": {
91           "type": "string",
92           "default": "",
93           "description": "Specifies the directory containing the compilation database"
94         },
95         "clangd.path": {
96           "type": "string",
97           "default": "clangd",
98           "description": "The path to clangd executable, e.g.: /usr/bin/clangd"
99         },
100         "clangd.arguments": {
101           "type": "array",
102           "default": [],
103           "items": {
104             "type": "string"
105           },
106           "description": "Arguments for clangd server"
107         },
108         "clangd.trace": {
109           "type": "string",
110           "description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
111         },
112         "clangd.fallbackFlags": {
113           "type": "array",
114           "items": {
115             "type": "string"
116           },
117           "default": [],
118           "description": "Extra clang flags used to parse files when no compilation database is found."
119         },
120         "clangd.semanticHighlighting": {
121           "type": "boolean",
122           "default": false,
123           "description": "Enable semantic highlighting in clangd, requires jackguo380/vim-lsp-cxx-highlight to work"
124         },
125         "clangd.showDBChangedNotification": {
126           "type": "boolean",
127           "default": true,
128           "description": "Show notifications while DB files changed"
129         },
130         "clangd.serverCompletionRanking": {
131           "type": "boolean",
132           "default": true,
133           "description": "Always rank completion items on the server as you type. This produces more accurate results at the cost of higher latency than client-side filtering."
134         },
135         "clangd.checkUpdates": {
136           "type": "boolean",
137           "default": false,
138           "description": "Check for clangd language server updates on startup."
139         },
140         "suggest.detailMaxLength": {
141           "type": "number",
142           "description": "Max length of detail that should be shown in popup menu.",
143           "default": 50
144         },
145         "diagnostic.format": {
146           "type": "string",
147           "description": "Define the diagnostic format. Available parts: source, code, severity, message",
148           "default": "%message\n[%source:%code]"
149         }
150       }
151     },
152     "commands": [
153       {
154         "command": "clangd.switchSourceHeader",
155         "title": "Switch between source/header"
156       },
157       {
158         "command": "clangd.symbolInfo",
159         "title": "Resolve symbol info under the cursor"
160       },
161       {
162         "command": "clangd.install",
163         "title": "Install latest clangd language server binary release"
164       },
165       {
166         "command": "clangd.update",
167         "title": "Check for updates to clangd language server"
168       }
169     ]
170   }
171 }