aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/cache/session.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/cache/session.go')
-rw-r--r--internal/lsp/cache/session.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/lsp/cache/session.go b/internal/lsp/cache/session.go
index 98d3c2504..80468bc59 100644
--- a/internal/lsp/cache/session.go
+++ b/internal/lsp/cache/session.go
@@ -238,14 +238,14 @@ func (s *Session) createView(ctx context.Context, name string, folder span.URI,
isActivePackageCache: newIsActivePackageCacheMap(),
goFiles: newGoFilesMap(),
parseKeysByURI: newParseKeysByURIMap(),
- symbols: make(map[span.URI]*symbolHandle),
+ symbolizeHandles: persistent.NewMap(uriLessInterface),
actions: persistent.NewMap(actionKeyLessInterface),
workspacePackages: make(map[PackageID]PackagePath),
unloadableFiles: make(map[span.URI]struct{}),
- parseModHandles: make(map[span.URI]*parseModHandle),
- parseWorkHandles: make(map[span.URI]*parseWorkHandle),
- modTidyHandles: make(map[span.URI]*modTidyHandle),
- modWhyHandles: make(map[span.URI]*modWhyHandle),
+ parseModHandles: persistent.NewMap(uriLessInterface),
+ parseWorkHandles: persistent.NewMap(uriLessInterface),
+ modTidyHandles: persistent.NewMap(uriLessInterface),
+ modWhyHandles: persistent.NewMap(uriLessInterface),
knownSubdirs: newKnownDirsSet(),
workspace: workspace,
}