You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
502 B
17 lines
502 B
" use prettier in ALE
|
|
let g:ale_fixers = {}
|
|
let g:ale_fixers['javascript'] = ['prettier']
|
|
let g:ale_javascript_prettier_options = '--no-semi --single-quote'
|
|
let g:ale_fixers['vue'] = ['prettier']
|
|
let g:ale_vue_prettier_options = '--no-semi --single-quote'
|
|
let g:ale_fix_on_save = 1
|
|
let g:ale_javascript_prettier_use_local_config = 1
|
|
|
|
"autocmd bufwritepost *.js silent !standard --fix %
|
|
set wildignore+=node_modules
|
|
|
|
set tabstop=2
|
|
set shiftwidth=2
|
|
|
|
" Create jsdoc with ,h
|
|
nnoremap <leader>h :JsDoc<CR>
|