Skip to content

Commit

Permalink
disable unused server capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmel committed Sep 20, 2023
1 parent 70d2542 commit f5937e0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions server/src/qLangServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,19 @@ export default class QLangServer {
// Whether the server supports resolving additional information for a completion item.
completionProvider: { resolveProvider: true },
// Whether the server supports providing hover information for a symbol.
hoverProvider: true,
// hoverProvider: true,
// Whether the server supports providing document highlights for a symbol.
documentHighlightProvider: true,
// documentHighlightProvider: true,
// Whether the server supports providing definitions for a symbol.
definitionProvider: true,
// Whether the server supports providing symbols for a document.
documentSymbolProvider: true,
// documentSymbolProvider: true,
// Whether the server supports finding references to a symbol.
referencesProvider: true,
// Whether the server supports renaming a symbol.
renameProvider: { prepareProvider: true },
// renameProvider: { prepareProvider: true },
// Whether the server supports providing semantic tokens for a document.
/*
semanticTokensProvider: {
documentSelector: null,
legend: {
Expand All @@ -144,6 +145,7 @@ export default class QLangServer {
},
full: true,
},
*/
// Whether the server supports providing call hierarchy information for a symbol - disabled for the moment.
callHierarchyProvider: false,
};
Expand Down

0 comments on commit f5937e0

Please sign in to comment.