summaryrefslogtreecommitdiff
path: root/internal/lsp/completion_state.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/completion_state.go')
-rw-r--r--internal/lsp/completion_state.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/internal/lsp/completion_state.go b/internal/lsp/completion_state.go
index 5c2716f..04bab58 100644
--- a/internal/lsp/completion_state.go
+++ b/internal/lsp/completion_state.go
@@ -141,31 +141,3 @@ func (s *completionState) waitForThrottle(ctx context.Context, interval time.Dur
return true
}
}
-
-func (s *Server) storePendingCompletion(key string, items []CompletionItem) {
- s.completionState.storePendingCompletion(key, items)
-}
-
-func (s *Server) setCompletionsDisabled(disabled bool) bool {
- return s.completionState.setCompletionsDisabled(disabled)
-}
-
-func (s *Server) completionDisabled() bool {
- return s.completionState.completionDisabled()
-}
-
-func (s *Server) takePendingCompletion(key string) []CompletionItem {
- return s.completionState.takePendingCompletion(key)
-}
-
-func (s *Server) completionCacheGet(key string) (string, bool) {
- return s.completionState.cacheGet(key)
-}
-
-func (s *Server) completionCachePut(key, value string) {
- s.completionState.cachePut(key, value)
-}
-
-func (s *Server) waitForThrottle(ctx context.Context) bool {
- return s.completionState.waitForThrottle(ctx, s.completionThrottle())
-}