We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af3069 commit be1bae2Copy full SHA for be1bae2
Extension/src/LanguageServer/client.ts
@@ -655,7 +655,7 @@ class DefaultClient implements Client {
655
let valuePair: DecorationRangesPair = this.inactiveRegionsDecorations.get(params.uri);
656
if (valuePair) {
657
// The language server will send notifications regardless of whether the ranges have changed. Unfortunately we must check for changes ourselves
658
- if (this.isRangesEqual(valuePair.ranges, params.ranges)) {
+ if (!this.isRangesEqual(valuePair.ranges, params.ranges)) {
659
// Disposing of and resetting the decoration will undo previously applied text decorations
660
valuePair.decoration.dispose();
661
valuePair.decoration = decoration;
0 commit comments