3 ms·
I'd still love to see a good tutorial on setting up Vim to work well with rls and all the other plugins. I only really keep VSCode around since it works with rl
by inamberclad 8y ago
I'd still love to see a good tutorial on setting up Vim to work well with rls and all the other plugins. I only really keep VSCode around since it works with rls and sometimes I want to use the autocomplete for codebases that are large enough to really need good autocomplete, but not so large that rls gets bogged down and doesn't work at all anymore.
- vbezhenar 8y agoIdea worked wonderfully for me with tiny pet projects.
- lkurusa 8y agoDoes vim-racer[0] not work for you? I don't exactly know what you mean by "good autocomplete", but if you are more specific, then maybe we can help you a little more? :-) FWIW, my Rust setup in vim is mostly the following plugins: * NERDCommenter, for commenting stuff * rust.vim, for general rust things (like integration with rustfmt, playground, and the next two plugins) * tagbar, for showing the list of tags (of the ctags-esque sense) in a sidebar. * syntastic, for on-the-go syntax checking. [0]: https://github.com/racer-rust/vim-racer https://github.com/racer-rust/vim-racer
- bhengaij 8y agoSame. Rust needs a one-click install "integrated de"
- mcjiggerlog 8y agoFor language server autocompletion, install coc.nvim - https://github.com/neoclide/coc.nvim https://github.com/neoclide/coc.nvim Then :CocInstall coc-rls and should work out of the box. I also use https://github.com/w0rp/ale https://github.com/w0rp/ale to provide linting. Also works out of the box. You can get these things running on vim8, but honestly it's easier to just use neovim. If it's of any use, you can check out my full config at https://github.com/tom-james-watson/dotfiles https://github.com/tom-james-watson/dotfiles.