Skip to content

Commit 5ad6ab4

Browse files
Merge pull request #6 from wrbs/enable-features
Enable features (diagnostics/formatting)
2 parents 78eb8d7 + 808dd13 commit 5ad6ab4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ocaml-lsp-server/src/config_data.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ let default =
6868
; hint_let_syntax_ppx = false
6969
}
7070
; syntax_documentation = Some { enable = false }
71-
; merlin_diagnostics = Some { enable = false }
71+
; merlin_diagnostics = Some { enable = true }
7272
; shorten_merlin_diagnostics = Some { enable = false }
7373
; ppx_css_colors = Some { enable = true }
7474
}

ocaml-lsp-server/src/ocaml_lsp_server.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ let initialize_info (client_capabilities : ClientCapabilities.t) : InitializeRes
140140
~codeLensProvider
141141
~referencesProvider:(`Bool true)
142142
~documentHighlightProvider:(`Bool true)
143-
~documentFormattingProvider:(`Bool false)
143+
~documentFormattingProvider:(`Bool true)
144144
~selectionRangeProvider:(`Bool true)
145145
~documentSymbolProvider:(`Bool true)
146146
~workspaceSymbolProvider:(`Bool true)

0 commit comments

Comments
 (0)