|
@ -6,13 +6,18 @@ if has("nvim") |
|
|
let g:ale_fixers['vue'] = ['prettier'] |
|
|
let g:ale_fixers['vue'] = ['prettier'] |
|
|
let g:ale_vue_prettier_options = '--no-semi --single-quote' |
|
|
let g:ale_vue_prettier_options = '--no-semi --single-quote' |
|
|
let g:ale_fix_on_save = 1 |
|
|
let g:ale_fix_on_save = 1 |
|
|
|
|
|
let g:ale_javascript_prettier_use_local_config = 1 |
|
|
|
|
|
|
|
|
|
|
|
" deoplete-tern {{{ |
|
|
|
|
|
let g:deoplete#sources#ternjs#docs = 1 |
|
|
|
|
|
let g:deoplete#sources#ternjs#case_insensitive = 1 |
|
|
"Add extra filetypes for deoplete tern |
|
|
"Add extra filetypes for deoplete tern |
|
|
let g:deoplete#sources#ternjs#filetypes = [ |
|
|
let g:deoplete#sources#ternjs#filetypes = [ |
|
|
\ 'jsx', |
|
|
\ 'jsx', |
|
|
\ 'javascript.jsx', |
|
|
\ 'javascript.jsx', |
|
|
\ 'vue', |
|
|
\ 'vue', |
|
|
\ ] |
|
|
\ ] |
|
|
|
|
|
" }}} |
|
|
else |
|
|
else |
|
|
" Syntastic {{{ |
|
|
" Syntastic {{{ |
|
|
"let g:syntastic_javascript_checkers = ['standard'] |
|
|
"let g:syntastic_javascript_checkers = ['standard'] |
|
|