Skip to content

Commit 5a128c5

Browse files
committed
feat: Increase max file size from 64 KiB to 10 MiB
1 parent 9b09438 commit 5a128c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/lsp/server.go

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ type Server struct {
2626
// if the server stops unexpectedly.
2727
func (s *Server) Run() error {
2828
scanner := bufio.NewScanner(s.Reader)
29+
scanner.Buffer(nil, 10*1024*1024)
2930
scanner.Split(jsonrpc.Split)
3031

3132
log.Println("LSP server started")

0 commit comments

Comments
 (0)