summaryrefslogtreecommitdiff
path: root/internal/lsp/document.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/document.go')
-rw-r--r--internal/lsp/document.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/lsp/document.go b/internal/lsp/document.go
index f7d0bbe..4938925 100644
--- a/internal/lsp/document.go
+++ b/internal/lsp/document.go
@@ -3,7 +3,6 @@ package lsp
import (
"strings"
- "time"
)
type document struct {
@@ -25,9 +24,7 @@ func (s *Server) deleteDocument(uri string) {
}
func (s *Server) markActivity() {
- s.mu.Lock()
- s.lastInput = time.Now()
- s.mu.Unlock()
+ s.chatSvc().markActivity()
}
func (s *Server) getDocument(uri string) *document {