Skip to content

Commit

Permalink
Add server capability for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ebresafegaga committed Mar 31, 2023
1 parent 1e1d16f commit 0bbf9e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lsp/nls/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ impl Server {
..Default::default()
}),
document_symbol_provider: Some(OneOf::Left(true)),
document_formatting_provider: Some(OneOf::Left(true)),
..ServerCapabilities::default()
}
}
Expand Down

0 comments on commit 0bbf9e6

Please sign in to comment.