Skip to content

Commit e818cb4

Browse files
committed
Fix CI issues
1 parent 96aee9a commit e818cb4

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

internal/lsp/server.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ func NewServer(apiClient api.Client) (*Server, error) {
4646

4747
func (s *Server) Run() error {
4848
handler := protocol.Handler{
49-
Initialize: s.handleInitialize,
50-
Initialized: s.handleInitialized,
51-
Shutdown: s.handleShutdown,
52-
SetTrace: s.handleSetTrace,
53-
TextDocumentDidOpen: s.handleTextDocumentDidOpen,
54-
TextDocumentDidClose: s.handleTextDocumentDidClose,
49+
Initialize: s.handleInitialize,
50+
Initialized: s.handleInitialized,
51+
Shutdown: s.handleShutdown,
52+
SetTrace: s.handleSetTrace,
53+
TextDocumentDidOpen: s.handleTextDocumentDidOpen,
54+
TextDocumentDidClose: s.handleTextDocumentDidClose,
5555
TextDocumentDefinition: s.handleTextDocumentDefinition,
5656
TextDocumentReferences: s.handleTextDocumentReferences,
5757
TextDocumentHover: s.handleTextDocumentHover,

internal/lsp/server_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ func TestHandleTextDocumentDocumentHighlight(t *testing.T) {
9898
require.NoError(t, err)
9999

100100
tests := []struct {
101-
name string
102-
path string
103-
response string
104-
wantCount int
105-
wantNil bool
101+
name string
102+
path string
103+
response string
104+
wantCount int
105+
wantNil bool
106106
}{
107107
{
108108
name: "filters to same file only",

0 commit comments

Comments
 (0)