-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc.local
64 lines (56 loc) · 1.63 KB
/
vimrc.local
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Plugin 'crusoexia/vim-monokai'
Plugin 'mxw/vim-jsx'
Plugin 'chemzqm/vim-jsx-improve'
Plugin 'trusktr/seti.vim'
Plugin 'mtscout6/syntastic-local-eslint.vim'
Plugin 'Yggdroot/indentLine'
" autocomplete with neocomplete
let g:neocomplete#enable_at_startup = 1
"""""""""""""""""
" Tern settings
"""""""""""""""""
let g:tern_show_argument_hints='on_hold'
" and
let g:tern_map_keys=1
""
""
let g:jsx_ext_required = 0
set backspace=2 " make backspace work like most other apps"
set backspace=indent,eol,start
:fixdel
syntax on
colorscheme monokai
set t_Co=256
filetype plugin indent on
"convert tabs to spaces"
set tabstop=2
set shiftwidth=2
set expandtab
set softtabstop=2
"add special characters to space adn tab
set list
set listchars=tab:>-,trail:~,extends:>
hi NonText ctermfg=7 guifg=gray
let g:javascript_plugin_jsdoc = 1
" syntactic configuration for eslint
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_loc_list_height = 3
let g:syntastic_auto_loc_list = 1
"let g:syntastic_check_on_open = 1
"let g:syntastic_check_on_wq = 1
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_error_symbol = '❌'
let g:syntastic_style_error_symbol = '⁉️'
let g:syntastic_warning_symbol = '⚠️'
let g:syntastic_style_warning_symbol = '💩'
highlight link SyntasticErrorSign SignColumn
highlight link SyntasticWarningSign SignColumn
highlight link SyntasticStyleErrorSign SignColumn
highlight link SyntasticStyleWarningSign SignColumn
" Vim
let g:indentLine_color_term = 239
let g:indentLine_char = '┆'
set tabstop=2 shiftwidth=2 expandtab