.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-clangd / package.json
1 {
2   "name": "coc-clangd",
3   "version": "0.9.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.80"
13   },
14   "repository": {
15     "type": "git",
16     "url": "https://github.com/clangd/coc-clangd.git"
17   },
18   "scripts": {
19     "clean": "rimraf lib",
20     "build": "node esbuild.js",
21     "lint": "eslint src --ext ts",
22     "prepare": "node esbuild.js"
23   },
24   "devDependencies": {
25     "@clangd/install": "^0.1.3",
26     "@types/node": "10.12.0",
27     "@types/which": "^2.0.0",
28     "@typescript-eslint/eslint-plugin": "^4.5.0",
29     "@typescript-eslint/parser": "^4.5.0",
30     "coc.nvim": "^0.0.81-next.2",
31     "esbuild": "^0.8.42",
32     "eslint": "^7.11.0",
33     "eslint-config-prettier": "^7.0.0",
34     "eslint-plugin-prettier": "^3.1.4",
35     "prettier": "^2.1.2",
36     "rimraf": "^3.0.1",
37     "typescript": "^4.0.3",
38     "vscode-languageserver-protocol": "^3.15.3"
39   },
40   "activationEvents": [
41     "onLanguage:c",
42     "onLanguage:cpp",
43     "onLanguage:cuda",
44     "onLanguage:objc",
45     "onLanguage:objcpp",
46     "onLanguage:arduino",
47     "onLanguage:objective-c",
48     "onLanguage:objective-cpp",
49     "workspaceContains:**/compile_commands.json",
50     "workspaceContains:**/compile_flags.txt"
51   ],
52   "rootPatterns": [
53     {
54       "patterns": [
55         "compile_commands.json",
56         "compile_flags.txt"
57       ]
58     }
59   ],
60   "contributes": {
61     "configuration": {
62       "type": "object",
63       "title": "coc-clangd configuration",
64       "properties": {
65         "clangd.enabled": {
66           "type": "boolean",
67           "default": true,
68           "description": "Enable coc-clangd extension"
69         },
70         "clangd.disableDiagnostics": {
71           "type": "boolean",
72           "default": false,
73           "description": "Disable diagnostics from clangd"
74         },
75         "clangd.disableCompletion": {
76           "type": "boolean",
77           "default": false,
78           "description": "Disable completion source from clangd"
79         },
80         "clangd.disableSnippetCompletion": {
81           "type": "boolean",
82           "default": false,
83           "description": "Disable completion snippet from clangd"
84         },
85         "clangd.compilationDatabasePath": {
86           "type": "string",
87           "default": "",
88           "description": "Specifies the directory containing the compilation database"
89         },
90         "clangd.path": {
91           "type": "string",
92           "default": "clangd",
93           "description": "The path to clangd executable, e.g.: /usr/bin/clangd"
94         },
95         "clangd.arguments": {
96           "type": "array",
97           "default": [],
98           "items": {
99             "type": "string"
100           },
101           "description": "Arguments for clangd server"
102         },
103         "clangd.trace": {
104           "type": "string",
105           "description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
106         },
107         "clangd.fallbackFlags": {
108           "type": "array",
109           "items": {
110             "type": "string"
111           },
112           "default": [],
113           "description": "Extra clang flags used to parse files when no compilation database is found."
114         },
115         "clangd.semanticHighlighting": {
116           "type": "boolean",
117           "default": false,
118           "description": "Enable semantic highlighting in clangd, requires jackguo380/vim-lsp-cxx-highlight to work"
119         },
120         "clangd.showDBChangedNotification": {
121           "type": "boolean",
122           "default": true,
123           "description": "Show notifications while DB files changed"
124         },
125         "clangd.serverCompletionRanking": {
126           "type": "boolean",
127           "default": true,
128           "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."
129         },
130         "clangd.checkUpdates": {
131           "type": "boolean",
132           "default": false,
133           "description": "Check for clangd language server updates on startup."
134         },
135         "suggest.detailMaxLength": {
136           "type": "number",
137           "description": "Max length of detail that should be shown in popup menu.",
138           "default": 50
139         },
140         "diagnostic.format": {
141           "type": "string",
142           "description": "Define the diagnostic format. Available parts: source, code, severity, message",
143           "default": "%message\n[%source:%code]"
144         }
145       }
146     },
147     "commands": [
148       {
149         "command": "clangd.switchSourceHeader",
150         "title": "Switch between source/header"
151       },
152       {
153         "command": "clangd.symbolInfo",
154         "title": "Resolve symbol info under the cursor"
155       },
156       {
157         "command": "clangd.install",
158         "title": "Install latest clangd language server binary release"
159       },
160       {
161         "command": "clangd.update",
162         "title": "Check for updates to clangd language server"
163       }
164     ]
165   }
166 }