diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-22 13:34:04 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-22 13:34:04 +0000 |
commit | 5a5402d4d4ab033f0035622df880c82ea064d2c5 (patch) | |
tree | a0224a5e049e27f61c20f8d7fd0b723e832192b6 /crates/ra_syntax/src/syntax_kinds/generated.rs | |
parent | 5c7e8f47a8318e744b8e5d5bcb127ca9753ca04b (diff) | |
parent | 0f5d9a03221ec9a4597f3e0bc29f210607713cb4 (diff) |
Merge #322
322: Fix analyzer extension fail when there are enabled any VIM extension r=matklad a=max-frai
`type` command is allowed only once to be registered and it was built specially for vim mode.
So if user has vim extension enabled, rust-analyzer initialization failes on trying to register own `type` handler.
Unfortunatelly, there are no nice ways to check if command is already registered so the way is to wrap everything with try/catch and notify user about conflict.
Co-authored-by: frai <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/syntax_kinds/generated.rs')
0 files changed, 0 insertions, 0 deletions