Comments (8)
Hm.
I want to test the behavior.
Please create the minimal vimrc and the reproduce ways from Vim starting.
from vim-racer.
Here's a minimal vimrc that reproduces the error for me:
set nocompatible
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/bundle')
Plug 'Shougo/neocomplete.vim'
Plug 'racer-rust/vim-racer'
call plug#end()
let g:neocomplete#enable_at_startup = 1
Obviously you can replace the vim-plug part with any other method to get the plugs installed.
A test file (save as ./src/main.rs):
fn main() {
println!("Hello, world!");
}
The error appears for me when I try to insert .unwrap()
between the )
and the ;
. (Note, .unwrap()
is not a valid method at that point, but it still shouldn't mangle the input.)
Vim version is 8.0.0851.
from vim-racer.
I will test it.
from vim-racer.
I think your machine is very slow and the input is lost.
You can test it in another machine.
from vim-racer.
I doubt speed is the problem. i5-3550, 16G, data on SSD and there's almost no load.
Even if I type really slowly the changes happen and you can see the cursor jumping back and forth.
from vim-racer.
Reproduced.
It is racer completion is too slow problem.
I cannot fix it.
You should use deoplete instead.
from vim-racer.
I might look into that, but I'm not yet on NeoVim. For now, YCM works for rust.
from vim-racer.
For now, YCM works for rust.
YCM has own integration with racer.
So it has not the problem.
from vim-racer.
Related Issues (20)
- Colorscheme configuration in vim-racer HOT 1
- Preview is not getting close HOT 2
- Compilation error (Android, Termux) HOT 1
- I don't get the idea of that plugin HOT 1
- Should add an option to suppress stderr printout when racer panics HOT 8
- Unsure about completion behaviour HOT 1
- How to Jump back when go to definition. like ctrl+T. (not ctrl+o) HOT 6
- Error "E117: Unknown function: racer#RacerComplete HOT 9
- Autocomplete always pre-selects (auto-inserts) the first suggestion. HOT 2
- Option to change default key bindings for completion HOT 1
- This autocomplete plugin not working in NeoVim HOT 6
- Failed to run on windows HOT 1
- Please provide <Plug>(rust-doc-tab) or other method to allow documents to be viewed in a new tab. HOT 2
- Ctrl+x Ctrl+o is not working HOT 3
- E764: Option 'omnifunc' is not set HOT 5
- E117: Unknown Function: racer#RacerComplete HOT 3
- Tag a new release HOT 1
- No ouput from RacerDoc or RacerDef when space in file path HOT 1
- Ctrl+x + Ctrl+o does not work HOT 9
- Deprecation notice? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-racer.