Skip to content

Instantly share code, notes, and snippets.

@Xanewok
Created July 10, 2017 18:21
Show Gist options
  • Save Xanewok/1f56f772c68bb2cd6192725f437b10e2 to your computer and use it in GitHub Desktop.
Save Xanewok/1f56f772c68bb2cd6192725f437b10e2 to your computer and use it in GitHub Desktop.
init.vim
call plug#begin('~/.local/share/nvim/plugged')
Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
" (Optional) Multi-entry selection UI.
Plug 'junegunn/fzf'
" " (Optional) Multi-entry selection UI.
Plug 'Shougo/denite.nvim'
"
" " (Optional) Completion integration with deoplete.
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
" " (Optional) Completion integration with nvim-completion-manager.
Plug 'roxma/nvim-completion-manager'
"
" " (Optional) Showing function signature and inline doc.
Plug 'Shougo/echodoc.vim'
Plug 'rust-lang/rust.vim'
" Experimental, not sure if works
Plug 'ntpeters/vim-better-whitespace'
call plug#end()
" Required for operations modifying multiple buffers like rename.
set hidden
let g:LanguageClient_serverCommands = {
\ 'rust': ['rustup', 'run', 'nightly', 'rls'],
\ 'javascript': ['/opt/javascript-typescript-langserver/lib/language-server-stdio.js'],
\ }
" Automatically start language servers.
let g:LanguageClient_autoStart = 1
set number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment