We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74f859 commit 6538a0cCopy full SHA for 6538a0c
src/cli/lsp.rs
@@ -182,7 +182,7 @@ fn main_loop(connection: Connection, config_resolver: &mut ConfigResolver) -> an
182
..Default::default()
183
},
184
server_info: Some(ServerInfo {
185
- name: "stylua".to_string(),
+ name: env!("CARGO_PKG_NAME").to_string(),
186
version: Some(env!("CARGO_PKG_VERSION").to_string()),
187
}),
188
};
@@ -298,7 +298,7 @@ mod tests {
298
299
300
"serverInfo": Some(ServerInfo {
301
302
303
304
}) => {}
0 commit comments