diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-09 09:09:07 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-09 09:09:07 +0000 |
commit | 904438e993b4cc3c1d9269a44436c1b112de16c0 (patch) | |
tree | ad5883464be94eae707a738802377fcd22a7eef4 /crates/tools/src | |
parent | c011fb70563d9eddb1e62436f78c206f3be0d00e (diff) | |
parent | bb0c2eb8d9da46ca1c71e42dcc363c13028b3eae (diff) |
Merge #267
267: Fix the extend keybinding r=DJMcNab a=DJMcNab
Make the extend selection keybinding less annoying for users not used to Injelli-J (myself included). Also fixes a minor style issue and runs `npm update`.
Co-authored-by: DJMcNab <[email protected]>
Diffstat (limited to 'crates/tools/src')
-rw-r--r-- | crates/tools/src/lib.rs | 5 | ||||
-rw-r--r-- | crates/tools/src/main.rs | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs index c2123db99..674b9d11f 100644 --- a/crates/tools/src/lib.rs +++ b/crates/tools/src/lib.rs | |||
@@ -112,10 +112,7 @@ pub fn run_rustfmt(mode: Mode) -> Result<()> { | |||
112 | fn install_rustfmt() -> Result<()> { | 112 | fn install_rustfmt() -> Result<()> { |
113 | run(&format!("rustup install {}", TOOLCHAIN), ".")?; | 113 | run(&format!("rustup install {}", TOOLCHAIN), ".")?; |
114 | run( | 114 | run( |
115 | &format!( | 115 | &format!("rustup component add rustfmt --toolchain {}", TOOLCHAIN), |
116 | "rustup component add rustfmt-preview --toolchain {}", | ||
117 | TOOLCHAIN | ||
118 | ), | ||
119 | ".", | 116 | ".", |
120 | ) | 117 | ) |
121 | } | 118 | } |
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index d2a6aa94f..36a7c83e2 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs | |||
@@ -127,10 +127,7 @@ fn install_code_extension() -> Result<()> { | |||
127 | } else { | 127 | } else { |
128 | run(r"npm install", "./editors/code")?; | 128 | run(r"npm install", "./editors/code")?; |
129 | } | 129 | } |
130 | run( | 130 | run(r"npm run package", "./editors/code")?; |
131 | r"node ./node_modules/vsce/out/vsce package", | ||
132 | "./editors/code", | ||
133 | )?; | ||
134 | if cfg!(windows) { | 131 | if cfg!(windows) { |
135 | run( | 132 | run( |
136 | r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix", | 133 | r"cmd.exe /c code.cmd --install-extension ./ra-lsp-0.0.1.vsix", |