mirror of
https://github.com/c-cube/linol.git
synced 2025-12-06 03:05:31 -05:00
config for documentSymbolProvider
This commit is contained in:
parent
97bbdfd4ba
commit
38c85ce5ca
1 changed files with 5 additions and 0 deletions
|
|
@ -105,6 +105,10 @@ module Make(IO : IO) = struct
|
||||||
[`Bool of bool | `HoverOptions of HoverOptions.t ] option = None
|
[`Bool of bool | `HoverOptions of HoverOptions.t ] option = None
|
||||||
(** @since NEXT_RELEASE *)
|
(** @since NEXT_RELEASE *)
|
||||||
|
|
||||||
|
method config_symbol :
|
||||||
|
[`Bool of bool | `DocumentSymbolOptions of DocumentSymbolOptions.t ] option = None
|
||||||
|
(** @since NEXT_RELEASE *)
|
||||||
|
|
||||||
method config_code_action_provider :
|
method config_code_action_provider :
|
||||||
[`CodeActionOptions of CodeActionOptions.t | `Bool of bool] = `Bool false
|
[`CodeActionOptions of CodeActionOptions.t | `Bool of bool] = `Bool false
|
||||||
(** @since NEXT_RELEASE *)
|
(** @since NEXT_RELEASE *)
|
||||||
|
|
@ -128,6 +132,7 @@ module Make(IO : IO) = struct
|
||||||
~commands:self#config_list_commands ())
|
~commands:self#config_list_commands ())
|
||||||
?definitionProvider:self#config_definition
|
?definitionProvider:self#config_definition
|
||||||
?hoverProvider:self#config_hover
|
?hoverProvider:self#config_hover
|
||||||
|
?documentSymbolProvider:self#config_symbol
|
||||||
~textDocumentSync:(`TextDocumentSyncOptions sync_opts) ()
|
~textDocumentSync:(`TextDocumentSyncOptions sync_opts) ()
|
||||||
|> self#config_modify_capabilities
|
|> self#config_modify_capabilities
|
||||||
in
|
in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue