X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-clangd%2Fpackage.json;h=0930cf8a5f334da17d28a0f3a143385e1629fc52;hp=ea6f5e02947e1732429ec33ecb5c6c7b2fbe17a6;hb=4d07c77cf4d78cab8639e13ddc3c22495e585b0b;hpb=b3950616b54221c40a7dab9099bda675007e5b6e diff --git a/.config/coc/extensions/node_modules/coc-clangd/package.json b/.config/coc/extensions/node_modules/coc-clangd/package.json index ea6f5e02..0930cf8a 100644 --- a/.config/coc/extensions/node_modules/coc-clangd/package.json +++ b/.config/coc/extensions/node_modules/coc-clangd/package.json @@ -1,6 +1,6 @@ { "name": "coc-clangd", - "version": "0.4.11", + "version": "0.6.0", "description": "clangd extension for coc.nvim", "author": "Heyward Fann ", "license": "Apache-2.0 WITH LLVM-exception", @@ -24,23 +24,23 @@ }, "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": { @@ -59,6 +59,14 @@ "workspaceContains:**/compile_commands.json", "workspaceContains:**/compile_flags.txt" ], + "rootPatterns": [ + { + "patterns": [ + "compile_commands.json", + "compile_flags.txt" + ] + } + ], "contributes": { "configuration": { "type": "object", @@ -79,6 +87,11 @@ "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", @@ -92,6 +105,10 @@ }, "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": { @@ -110,6 +127,11 @@ "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,