Last active
November 14, 2017 20:30
-
-
Save dhcmrlchtdj/3805e36cb6f9b052a3f60ebd584ac3b2 to your computer and use it in GitHub Desktop.
vimrc for ocaml/reason. (deoplete + merlin)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filetype plugin indent off | |
let g:dein#types#git#clone_depth = 1 | |
set runtimepath+=~/.config/nvim/bundle/repos/github.com/Shougo/dein.vim/ | |
call dein#begin(expand('~/.config/nvim/bundle')) | |
call dein#add('Shougo/dein.vim') | |
call dein#add('Shougo/deoplete.nvim') | |
let g:deoplete#enable_at_startup = 1 | |
let g:deoplete#file#enable_buffer_path = 1 | |
let g:deoplete#auto_complete_start_length = 1 | |
let g:deoplete#omni#input_patterns = {} | |
imap <expr> <TAB> pumvisible() ? '<C-n>' : '<TAB>' | |
call dein#add('facebook/reason', {'rtp': 'editorSupport/VimReason'}) | |
" call dein#add('ocaml/merlin', {'rtp': 'vim/merlin'}) | |
call dein#local('~/.opam/4.04.0/share/merlin/') | |
let g:deoplete#omni#input_patterns.ocaml = '[.\w]+' | |
let g:deoplete#omni#input_patterns.reason = '[.\w]+' | |
if dein#check_install() | |
call dein#install() | |
endif | |
call dein#end() | |
filetype plugin indent on | |
syntax enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment