We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56b3783 commit b3ce82bCopy full SHA for b3ce82b
src/rescript.rs
@@ -88,6 +88,24 @@ impl zed::Extension for ReScriptExtension {
88
env: Default::default(),
89
})
90
}
91
+
92
+ fn language_server_initialization_options(
93
+ &mut self,
94
+ _server_id: &zed::LanguageServerId,
95
+ _worktree: &zed::Worktree,
96
+ ) -> Result<Option<zed::serde_json::Value>> {
97
+ Ok(Some(zed::serde_json::json!({
98
+ "extensionConfiguration": {
99
+ "inlayHints": {
100
+ "enable": true
101
+ },
102
+ "codeLens": true,
103
+ "signatureHelp": {
104
+ "enabled": true
105
+ }
106
107
+ })))
108
109
110
111
zed::register_extension!(ReScriptExtension);
0 commit comments