Skip to content

Commit

Permalink
feat: Increase max file size from 64 KiB to 10 MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
armsnyder committed Sep 20, 2024
1 parent 9b09438 commit 5a128c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/lsp/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ type Server struct {
// if the server stops unexpectedly.
func (s *Server) Run() error {
scanner := bufio.NewScanner(s.Reader)
scanner.Buffer(nil, 10*1024*1024)
scanner.Split(jsonrpc.Split)

log.Println("LSP server started")
Expand Down

0 comments on commit 5a128c5

Please sign in to comment.