Skip to content

Commit

Permalink
Add *.ttcn files to filter glob
Browse files Browse the repository at this point in the history
  • Loading branch information
kmichaelk committed Sep 13, 2024
1 parent 90d2d70 commit 47a4e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/lsp/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (s *Server) didChangeConfiguration(ctx context.Context, _ *protocol.DidChan
Method: "textDocument/formatting",
RegisterOptions: protocol.TextDocumentRegistrationOptions{
DocumentSelector: protocol.DocumentSelector{
protocol.DocumentFilter{Language: "ttcn3", Scheme: "file", Pattern: "**/*.ttcn3"},
protocol.DocumentFilter{Language: "ttcn3", Scheme: "file", Pattern: "**/*.{ttcn,ttcn3}"},
},
}})
} else {
Expand Down

0 comments on commit 47a4e86

Please sign in to comment.