diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-08-19 09:05:39 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2019-08-19 09:05:39 +0100 |
commit | 83413cc9ef73d578f2e42c21f7aa85ef296be8c0 (patch) | |
tree | 12bb8180259d4e9c9cf54c5c42ebf99792fd4f15 /crates/ra_syntax/src/parsing.rs | |
parent | 2bac1bdf174a053f0727e982f0f92d068ef3c208 (diff) | |
parent | d07a85ed7e0ed3baac6e8fc66cd27116056e9810 (diff) |
Merge #1696
1696: fix #1424 r=matklad a=coderfox
- resolve "~" in raLspServerPath
I think expanding simply `~/` is quite simple as node provides `homedir`, but expanding `~foo/` is difficult as there is no cross-platform approach of reading home directory of another user. So this pull request only resolves `~/` in `raLspServerPath`.
Besides, the source code is arranged in a way hard to write tests. Would anyone provide me with instructions of writing tests for this feature, or no test is required for this feature?
Co-authored-by: xfoxfu <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/parsing.rs')
0 files changed, 0 insertions, 0 deletions