Format workspace with CodeFormat
This commit is contained in:
@@ -15,24 +15,24 @@
|
||||
]]
|
||||
|
||||
return {
|
||||
cmd = { 'rust-analyzer' },
|
||||
cmd = { "rust-analyzer", },
|
||||
settings = {
|
||||
-- https://github.com/rust-lang/rust-analyzer/blob/master/docs/user/generated_config.adoc
|
||||
['rust-analyzer'] = {
|
||||
["rust-analyzer"] = {
|
||||
cargo = {
|
||||
-- Extra environment variables that will be set when running cargo, rustc
|
||||
-- or other commands within the workspace. Useful for setting RUSTFLAGS.
|
||||
extraEnv = {
|
||||
OPENSSL_INCLUDE_DIR = '/usr/include/openssl-1.0/',
|
||||
OPENSSL_LIB_DIR = '/usr/lib/openssl-1.0/'
|
||||
}
|
||||
}
|
||||
OPENSSL_INCLUDE_DIR = "/usr/include/openssl-1.0/",
|
||||
OPENSSL_LIB_DIR = "/usr/lib/openssl-1.0/",
|
||||
},
|
||||
},
|
||||
--[[ inlayHints = {
|
||||
closingBraceHints = {
|
||||
-- Whether to show inlay hints after a closing `}` to indicate what item it belongs to.
|
||||
enable = false
|
||||
},
|
||||
} ]]
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user