Skip to content

Instantly share code, notes, and snippets.

@Risto-Stevcev
Last active January 5, 2018 16:34
Show Gist options
  • Save Risto-Stevcev/9e85a514064d100310b754a68dc38556 to your computer and use it in GitHub Desktop.
Save Risto-Stevcev/9e85a514064d100310b754a68dc38556 to your computer and use it in GitHub Desktop.
Neovim config
call plug#begin('~/.local/share/nvim/plugged')
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'autozimu/LanguageClient-neovim'
" (Optional) Multi-entry selection UI.
" Plug 'junegunn/fzf'
" (Completion plugin option 1)
" Plug 'roxma/nvim-completion-manager'
" (Completion plugin option 2)
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'reasonml-editor/vim-reason-plus'
Plug 'colepeters/spacemacs-theme.vim'
call plug#end()
let g:LanguageClient_serverCommands = {
\ 'reason': ['ocaml-language-server', '--stdio'],
\ 'ocaml': ['ocaml-language-server', '--stdio'],
\ }
" Use deoplete.
let g:deoplete#enable_at_startup = 1
" Autostart language servers
let g:LanguageClient_autoStart = 1
" set Vim-specific sequences for RGB colors
" Prevents a white background painted on the terminal when vim gets closed
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
if (has("termguicolors"))
set termguicolors
endif
set background=dark
colorscheme spacemacs-theme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment