diff options
author | Cor Peters | 2021-07-18 07:56:25 +0000 |
---|---|---|
committer | GitHub | 2021-07-18 07:56:25 +0000 |
commit | 0aa43902cab5dbcddb72ddf5d3b825ef874dc620 (patch) | |
tree | 9446d354355f34a9ec2577958e58eca496723c27 /languages.toml | |
parent | 6cba62b49917fde7c5876a1cce9d3883c6bef6c9 (diff) |
Added option to provide a custom config file to the lsp. (#460)
* Added option to provide a custom config file to the lsp.
* Simplified lsp loading routine with anyhow
* Moved config to language.toml
* Fixed test case
* Cargo fmt
* Revert now-useless changes
* Renamed custom_config to config
Co-authored-by: Cor <prive@corpeters.nl>
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 204a5987..ee495635 100644 --- a/languages.toml +++ b/languages.toml @@ -5,6 +5,16 @@ injection-regex = "rust" file-types = ["rs"] roots = [] auto-format = true +config = """ +{ + "cargo": { + "loadOutDirsFromCheck": true + }, + "procMacro": { + "enable": false + } +} +""" language-server = { command = "rust-analyzer" } indent = { tab-width = 4, unit = " " } |