Skip to content

Commit

Permalink
Spelling: initalized -> initialized (#1042)
Browse files Browse the repository at this point in the history
Popped up in an error message I received in #1041, thought it worth a quick PR to fix.
  • Loading branch information
jk563 authored Aug 17, 2022
1 parent f12ab09 commit 2f91d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/langserver/session/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (s *session) Initialize(req *jrpc2.Request) error {
if s.IsInitializedUnconfirmed() {
return SessionAlreadyInitializedErr(s.initializeReq.ID())
}
return fmt.Errorf("session is not ready to be initalized. State: %s",
return fmt.Errorf("session is not ready to be initialized. State: %s",
s.state)
}

Expand Down

0 comments on commit 2f91d75

Please sign in to comment.