-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
31 lines (25 loc) · 980 Bytes
/
.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
" Ward off unexpected things that your distro might have made, as
" well as sanely reset options when re-sourcing .vimrc
set nocompatible
" Set dpp base path (required)
const s:dpp_base = '~/.cache/dpp/'
" Set dpp source path (required)
const s:dpp_src = '~/.cache/dpp/repos/github.com/Shougo/dpp.vim'
const s:denops_src = '~/.cache/dpp/repos/github.com/denops/denops.vim'
" Set dpp runtime path (required)
execute 'set runtimepath^=' .. s:dpp_src
if s:dpp_base->dpp#min#load_state()
" NOTE: dpp#make_state() requires denops.vim
execute 'set runtimepath^=' .. s:denops_src
autocmd User DenopsReady
\ call dpp#make_state(s:dpp_base, '{TypeScript config file path}')
endif
" 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
if has('syntax')
syntax on
endif