Skip to content

Commit 6538a0c

Browse files
committed
Use correct package name
1 parent d74f859 commit 6538a0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/lsp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fn main_loop(connection: Connection, config_resolver: &mut ConfigResolver) -> an
182182
..Default::default()
183183
},
184184
server_info: Some(ServerInfo {
185-
name: "stylua".to_string(),
185+
name: env!("CARGO_PKG_NAME").to_string(),
186186
version: Some(env!("CARGO_PKG_VERSION").to_string()),
187187
}),
188188
};
@@ -298,7 +298,7 @@ mod tests {
298298
..Default::default()
299299
},
300300
"serverInfo": Some(ServerInfo {
301-
name: "stylua".to_string(),
301+
name: env!("CARGO_PKG_NAME").to_string(),
302302
version: Some(env!("CARGO_PKG_VERSION").to_string()),
303303
}),
304304
}) => {}

0 commit comments

Comments
 (0)