Skip to content

Commit 640a74c

Browse files
committed
Update README Plug example.
Close #228.
1 parent 2d74042 commit 640a74c

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ None.
1717
> - x86\_64-apple-darwin
1818
> And use it to replace the example architecture inside tags.
1919
20-
> If you don't want to use pre-built binaries, use `make release` as post
21-
> action after plugin installation and update.
20+
> If you don't want to use pre-built binaries, specify branch `next` and `make release` as post
21+
> action after plugin installation and update. e.g., `Plug 'autozimu/LanguageClient', {'branch': 'next', 'do': 'make release'}`.
2222
2323
Choose steps matching your plugin manager.
2424

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ functional.)
3636
Using [`vim-plug`](https://github.com/junegunn/vim-plug):
3737

3838
```vim
39-
Plug 'autozimu/LanguageClient-neovim', {
40-
\ 'branch': 'next',
41-
\ 'do': './install.sh'
42-
\ }
39+
Plug 'autozimu/LanguageClient-neovim', {'tag': 'binary-*-x86_64-apple-darwin'}
4340
4441
" (Optional) Multi-entry selection UI.
4542
Plug 'junegunn/fzf'

src/languageclient.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -498,12 +498,7 @@ impl ILanguageClient for Arc<Mutex<State>> {
498498
"WARNING" => MessageType::Warning,
499499
"INFO" => MessageType::Info,
500500
"LOG" => MessageType::Log,
501-
_ => {
502-
bail!(
503-
"Unknown windowLogMessageLevel: {}",
504-
windowLogMessageLevel
505-
)
506-
}
501+
_ => bail!("Unknown windowLogMessageLevel: {}", windowLogMessageLevel),
507502
};
508503

509504
self.update(|state| {

0 commit comments

Comments
 (0)