src/Lsp.vala
authorAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2024 14:18:26 +0000 (22:18 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2024 14:18:26 +0000 (22:18 +0800)
src/Lsp.vala

index 33bfc1f..0300565 100644 (file)
@@ -467,9 +467,11 @@ namespace Lsp {
                        return this;
                        
                }
+               // does not compare children...
                public bool equals(DocumentSymbol sym) {
                        return this.name == sym.name && 
                                        this.kind == sym.kind && 
+                                       this.detail == sym.detail &&
                                        sym.range.equals(this.range);
                }