{
"name": "coc-clangd",
- "version": "0.4.11",
+ "version": "0.6.0",
"description": "clangd extension for coc.nvim",
"author": "Heyward Fann <fannheyward@gmail.com>",
"license": "Apache-2.0 WITH LLVM-exception",
},
"devDependencies": {
"@clangd/install": "^0.1.3",
- "@types/node": "^14.0.12",
+ "@types/node": "^14.14.2",
"@types/which": "^1.3.2",
- "@typescript-eslint/eslint-plugin": "^3.2.0",
- "@typescript-eslint/parser": "^3.2.0",
- "coc.nvim": "^0.0.77",
- "eslint": "^7.2.0",
- "eslint-config-prettier": "^6.11.0",
- "eslint-plugin-prettier": "^3.1.3",
- "husky": "^4.2.5",
+ "@typescript-eslint/eslint-plugin": "^4.5.0",
+ "@typescript-eslint/parser": "^4.5.0",
+ "coc.nvim": "^0.0.79",
+ "eslint": "^7.11.0",
+ "eslint-config-prettier": "^6.14.0",
+ "eslint-plugin-prettier": "^3.1.4",
+ "husky": "^4.3.0",
"npm-run-all": "^4.1.5",
- "prettier": "^2.0.5",
+ "prettier": "^2.1.2",
"rimraf": "^3.0.1",
- "ts-loader": "^7.0.5",
- "typescript": "^3.9.5",
+ "ts-loader": "^8.0.6",
+ "typescript": "^4.0.3",
"vscode-languageserver-protocol": "^3.15.3",
- "webpack": "^4.43.0",
- "webpack-cli": "^3.3.11"
+ "webpack": "^5.1.3",
+ "webpack-cli": "^4.1.0"
},
"husky": {
"hooks": {
"workspaceContains:**/compile_commands.json",
"workspaceContains:**/compile_flags.txt"
],
+ "rootPatterns": [
+ {
+ "patterns": [
+ "compile_commands.json",
+ "compile_flags.txt"
+ ]
+ }
+ ],
"contributes": {
"configuration": {
"type": "object",
"default": false,
"description": "Disable completion snippet from clangd"
},
+ "clangd.compilationDatabasePath": {
+ "type": "string",
+ "default": "",
+ "description": "Specifies the directory containing the compilation database"
+ },
"clangd.path": {
"type": "string",
"default": "clangd",
},
"description": "Arguments for clangd server"
},
+ "clangd.trace": {
+ "type": "string",
+ "description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
+ },
"clangd.fallbackFlags": {
"type": "array",
"items": {
"default": true,
"description": "Show notifications while DB files changed"
},
+ "clangd.serverCompletionRanking": {
+ "type": "boolean",
+ "default": true,
+ "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."
+ },
"clangd.checkUpdates": {
"type": "boolean",
"default": false,