All of my important config files
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
517 B

  1. " use prettier in ALE
  2. let b:ale_fixers = {}
  3. let b:ale_fixers['javascript'] = ['prettier']
  4. let b:ale_javascript_prettier_options = '--no-semi --single-quote'
  5. let b:ale_fixers['vue'] = ['prettier']
  6. let b:ale_vue_prettier_options = '--no-semi --single-quote'
  7. let b:ale_fix_on_save = 1
  8. let b:ale_javascript_prettier_use_local_config = 1
  9. "autocmd bufwritepost *.js silent !standard --fix %
  10. setlocal wildignore+=node_modules
  11. setlocal tabstop=2
  12. setlocal shiftwidth=2
  13. " Create jsdoc with ,h
  14. nnoremap <leader>h :JsDoc<CR>