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",
16 "url": "https://github.com/clangd/coc-clangd.git"
19 "clean": "rimraf lib",
20 "watch": "webpack --watch",
22 "lint": "eslint src --ext ts",
23 "prepare": "npm-run-all clean build"
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",
33 "eslint-config-prettier": "^6.11.0",
34 "eslint-plugin-prettier": "^3.1.3",
36 "npm-run-all": "^4.1.5",
39 "ts-loader": "^7.0.5",
40 "typescript": "^3.9.5",
41 "vscode-languageserver-protocol": "^3.15.3",
43 "webpack-cli": "^3.3.11"
47 "pre-push": "yarn lint"
57 "onLanguage:objective-c",
58 "onLanguage:objective-cpp",
59 "workspaceContains:**/compile_commands.json",
60 "workspaceContains:**/compile_flags.txt"
65 "title": "coc-clangd configuration",
70 "description": "Enable coc-clangd extension"
72 "clangd.disableDiagnostics": {
75 "description": "Disable diagnostics from clangd"
77 "clangd.disableSnippetCompletion": {
80 "description": "Disable completion snippet from clangd"
85 "description": "The path to clangd executable, e.g.: /usr/bin/clangd"
93 "description": "Arguments for clangd server"
95 "clangd.fallbackFlags": {
101 "description": "Extra clang flags used to parse files when no compilation database is found."
103 "clangd.semanticHighlighting": {
106 "description": "Enable semantic highlighting in clangd, requires jackguo380/vim-lsp-cxx-highlight to work"
108 "clangd.showDBChangedNotification": {
111 "description": "Show notifications while DB files changed"
113 "clangd.checkUpdates": {
116 "description": "Check for clangd language server updates on startup."
118 "suggest.detailMaxLength": {
120 "description": "Max length of detail that should be shown in popup menu.",
123 "diagnostic.format": {
125 "description": "Define the diagnostic format. Available parts: source, code, severity, message",
126 "default": "%message\n[%source:%code]"
132 "command": "clangd.switchSourceHeader",
133 "title": "Switch between source/header"
136 "command": "clangd.symbolInfo",
137 "title": "Resolve symbol info under the cursor"
140 "command": "clangd.install",
141 "title": "Install latest clangd language server binary release"
144 "command": "clangd.update",
145 "title": "Check for updates to clangd language server"