-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmini.vim
More file actions
40 lines (34 loc) · 1008 Bytes
/
mini.vim
File metadata and controls
40 lines (34 loc) · 1008 Bytes
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
if &compatible
set nocompatible " Be iMproved
endif
" Disable Vim's native pack feature
set packpath=
let $CACHE = expand('~/.cache/nvim')
if !isdirectory(expand($CACHE))
call mkdir(expand($CACHE), 'p')
endif
let s:dein_dir = expand('$CACHE/dein')
let s:dein_repo_dir = s:dein_dir . '/repos/github.com/Shougo/dein.vim'
if &runtimepath !~# '/dein.vim'
if !isdirectory(s:dein_repo_dir)
execute '!git clone https://github.com/Shougo/dein.vim' s:dein_repo_dir
endif
execute 'set runtimepath^=' . s:dein_repo_dir
endif
let g:dein#auto_recache = 1
if dein#load_state(s:dein_dir, expand('<sfile>'))
call dein#begin(s:dein_dir, expand('<sfile>'))
" Required:
call dein#add('lambdalisue/nerdfont.vim')
" Required:
call dein#end()
call dein#save_state()
endif
call dein#call_hook('source')
call dein#call_hook('post_source')
if has('vim_starting') && dein#check_install()
call dein#install()
endif
filetype plugin indent on
syntax enable
set termguicolors