-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
49 lines (37 loc) · 1000 Bytes
/
init.vim
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
44
45
46
47
48
49
call plug#begin('~/.config/nvim/autoload/')
" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'scrooloose/nerdtree'
Plug 'vim-syntastic/syntastic'
Plug 'airblade/vim-gitgutter'
Plug 'mhartington/oceanic-next'
Plug 'ryanoasis/vim-devicons'
Plug 'leafgarland/typescript-vim'
Plug 'arrufat/vala.vim'
call plug#end()
set ruler
set backup
set number
set cursorline
set tabstop=4
set encoding=utf8
colorscheme OceanicNext
"""Some NERDTree settings"""
map <C-n> :NERDTreeToggle<CR>
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
"""GitGutter"""
let g:gitgutter_eager = 1
let g:gitgutter_diff_args = '-w'
"""Linting"""
let g:syntastic_check_on_open = 1
" HTML
" CSS
" JavaScript
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_javascript_eslint_exec = 'eslint_d'
" Markdown
let g:syntastic_markdown_checker = ['proselint']
" Vala
let g:syntastic_vala_checkers = ['valac']
" YAML
let g:syntastic_yaml_checkers = ['yamllint']