All Projects → sebastianmarkow → Deoplete Rust

sebastianmarkow / Deoplete Rust

Licence: mit
Rust completion for Neovim (Deoplete) via Racer

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Deoplete Rust

Neovim Init.vim
🏮 The perfect Neovim configuration for productive people who wants to level up their Vim experience with a clean, minimal-looking aesthetic, as well as a highly extensible, easily customizable set of popular tools and shortcuts to boost productivity. 🏮
Stars: ✭ 440 (+249.21%)
Mutual labels:  neovim, autocomplete
Coc Flutter
flutter support for (Neo)vim
Stars: ✭ 259 (+105.56%)
Mutual labels:  neovim, autocomplete
Coc Angular
Angular Language Service coc extension for (neo)vim
Stars: ✭ 95 (-24.6%)
Mutual labels:  neovim, autocomplete
Vim Language Server
VImScript language server, LSP for vim script
Stars: ✭ 264 (+109.52%)
Mutual labels:  neovim, autocomplete
Vim Lsc
A vim plugin for communicating with a language server
Stars: ✭ 545 (+332.54%)
Mutual labels:  neovim, autocomplete
Autocomplete Swift
Autocompletion for Swift in NeoVim with deoplete.
Stars: ✭ 92 (-26.98%)
Mutual labels:  neovim, autocomplete
Ncm R
R autocompletion for Neovim and vim 8 📝 📊 ⚡️
Stars: ✭ 102 (-19.05%)
Mutual labels:  neovim, autocomplete
Pydantic Pycharm Plugin
PyCharm plugin for pydantic. This plugin provides autocompletion, inspection, type-checking, inserting unfilled argument, and more.
Stars: ✭ 116 (-7.94%)
Mutual labels:  autocomplete
Vim Ctrlspace
Vim Space Controller
Stars: ✭ 1,621 (+1186.51%)
Mutual labels:  neovim
Futureproof
A live editor for fragment shaders, powered by Neovim, WebGPU, and Zig!
Stars: ✭ 117 (-7.14%)
Mutual labels:  neovim
Git Blame.nvim
Git Blame plugin for Neovim written in Lua
Stars: ✭ 114 (-9.52%)
Mutual labels:  neovim
Go Plus
An Enhanced Go Experience For The Atom Editor
Stars: ✭ 1,519 (+1105.56%)
Mutual labels:  autocomplete
Dotfiles
My dotfiles
Stars: ✭ 121 (-3.97%)
Mutual labels:  neovim
Oceanic Material
Oceanic Material Colorscheme on Vim/NeoVim
Stars: ✭ 117 (-7.14%)
Mutual labels:  neovim
Coc Metals
coc.nvim extension for Metals, the Scala language server
Stars: ✭ 124 (-1.59%)
Mutual labels:  neovim
Django Autocomplete Light
A fresh approach to autocomplete implementations, specially for Django. Status: v4 alpha, v3 stable, v2 & v1 deprecated.
Stars: ✭ 1,559 (+1137.3%)
Mutual labels:  autocomplete
Neotags.nvim
Tag highlight in neovim
Stars: ✭ 124 (-1.59%)
Mutual labels:  neovim
Nvim Bqf
Better quickfix window in Neovim, polish old quickfix window.
Stars: ✭ 120 (-4.76%)
Mutual labels:  neovim
Actualvim
Sublime Text 3 input mode using Neovim. Issues are closed, feel free to submit Pull Requests if you have bug fixes however.
Stars: ✭ 1,541 (+1123.02%)
Mutual labels:  neovim
Notes
let me know if my notes help you :D (it's a mess, I know)
Stars: ✭ 119 (-5.56%)
Mutual labels:  neovim

deoplete-rust Gitter

Neovim/Deoplete auto-completion source for Rust via Racer.

Auto-completion: Screenshot auto-completion

Documentation: Screenshot documentation

Requirements

Install Racer

with cargo

cargo install racer

from source

git clone https://github.com/phildawes/racer.git; cd racer
cargo build --release

Copy binary to ./target/release/racer to a location of your choice. (e.g. to /usr/local/bin)

Get Rust source code

mkdir -p choose/a/path
git clone --depth=1 https://github.com/rust-lang/rust.git

Install Deoplete

For details see the installation guide

Installation

with vim-plug

Plug 'sebastianmarkow/deoplete-rust'

with Vundle

Plugin 'sebastianmarkow/deoplete-rust'

with NeoBundle

NeoBundle 'sebastianmarkow/deoplete-rust'

with Pathogen

git clone --depth=1 https://github.com/sebastianmarkow/deoplete-rust.git path/to/vim/bundle/deoplete-rust

Configuration (init.vim)

Set fully qualified path to racer binary. If it is in your PATH already use which racer. (required)

let g:deoplete#sources#rust#racer_binary='/path/to/racer'

Set Rust source code path (when cloning from Github usually ending on /src). (required)

let g:deoplete#sources#rust#rust_source_path='/path/to/rust/src'

Show duplicate matches.

let g:deoplete#sources#rust#show_duplicates=1

To disable default key mappings (gd & K) add the following

let g:deoplete#sources#rust#disable_keymap=1

Set max height of documentation split.

let g:deoplete#sources#rust#documentation_max_height=20

Usage

Default key mappings

These are the default key mappings

nmap <buffer> gd <plug>DeopleteRustGoToDefinitionDefault
nmap <buffer> K  <plug>DeopleteRustShowDocumentation

Additional methods to bind

Method Action
DeopleteRustGoToDefinitionSplit Open definition in horizontal split
DeopleteRustGoToDefinitionVSplit Open definition in vertical split
DeopleteRustGoToDefinitionTab Open definition in new tab

gd Go to definition

Jump to definition of the current element under the cursor.

K Show documentation

Show brief description of the current element under the cursor. To close press either q, cr or esc.

Show help

You don't have to remember it all. Run :help deoplete-rust.

License

deoplete-rust is licensed under MIT License. For additional information, see LICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].