Skip to content

Commit

Permalink
Disabled documentation resolve in autocompletion
Browse files Browse the repository at this point in the history
Stops the flood of errors due to completionItem/resolve not existing as a valid request in clangd.

This is a temporary fix to a known bug (#9)
  • Loading branch information
hamer0 committed Jul 22, 2023
1 parent 9c031ea commit 57906f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/codemirror/language-server/autocompletion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const autocompletion = (
},
type: item.kind ? mapCompletionKind[item.kind] : undefined,
detail: item.detail,
info: documentationResolver,
// info: documentationResolver,
boost: boost(item),
// Needed later for resolving.
item,
Expand Down

0 comments on commit 57906f0

Please sign in to comment.