-
Notifications
You must be signed in to change notification settings - Fork 1
/
dein.vimrc
44 lines (33 loc) · 1.25 KB
/
dein.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
" Ward off unexpected things that your distro might have made, as
" well as sanely reset options when re-sourcing .vimrc
set nocompatible
" Set Dein base path (required)
let s:dein_base = '/home/ktakahashi/.cache/dein'
" Set Dein source path (required)
let s:dein_src = '/home/ktakahashi/.cache/dein/repos/github.com/Shougo/dein.vim'
" Set Dein runtime path (required)
execute 'set runtimepath+=' . s:dein_src
" Call Dein initialization (required)
call dein#begin(s:dein_base)
call dein#add(s:dein_src)
" Your plugins go here:
"call dein#add('Shougo/neosnippet.vim')
"call dein#add('Shougo/neosnippet-snippets')
"
let g:dein_dir = expand('~/dotfiles')
let s:toml = g:dein_dir . '/dein.toml'
let s:lazy_toml = g:dein_dir . '/dein_lazy.toml'
call dein#load_toml(s:toml, {'lazy': 0})
call dein#load_toml(s:lazy_toml, {'lazy': 1})
" Finish Dein initialization (required)
call dein#end()
" Attempt to determine the type of a file based on its name and possibly its
" contents. Use this to allow intelligent auto-indenting for each filetype,
" and for plugins that are filetype specific.
filetype indent plugin on
" Enable syntax highlighting
syntax enable
" Uncomment if you want to install not-installed plugins on startup.
if dein#check_install()
call dein#install()
endif