Fix formatting
This commit is contained in:
parent
2174aca8f8
commit
9914d30450
@ -1164,7 +1164,10 @@ pub(crate) fn code_lens(
|
|||||||
let r = runnable(snap, run)?;
|
let r = runnable(snap, run)?;
|
||||||
|
|
||||||
let lens_config = snap.config.lens();
|
let lens_config = snap.config.lens();
|
||||||
if lens_config.run && client_commands_config.run_single && r.args.workspace_root.is_some() {
|
if lens_config.run
|
||||||
|
&& client_commands_config.run_single
|
||||||
|
&& r.args.workspace_root.is_some()
|
||||||
|
{
|
||||||
let command = command::run_single(&r, &title);
|
let command = command::run_single(&r, &title);
|
||||||
acc.push(lsp_types::CodeLens {
|
acc.push(lsp_types::CodeLens {
|
||||||
range: annotation_range,
|
range: annotation_range,
|
||||||
|
Loading…
Reference in New Issue
Block a user