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.

23 lines
731 B

  1. " set textwidth for automatic line wrap
  2. set tw=80
  3. set spell spelllang=en_us
  4. set conceallevel=0
  5. " disable real time linting, as it might be distracting
  6. let g:ale_lint_on_text_changed=0
  7. let g:ale_fixers = {}
  8. let g:ale_fixers['markdown'] = ['prettier']
  9. let g:ale_fix_on_save = 1
  10. " complete english words
  11. setlocal dictionary+=/usr/share/dict/words
  12. " Remove this if you'd like to use fuzzy search
  13. call deoplete#custom#source(
  14. \ 'dictionary', 'matchers', ['matcher_head'])
  15. " If dictionary is already sorted, no need to sort it again.
  16. call deoplete#custom#source(
  17. \ 'dictionary', 'sorters', [])
  18. " Do not complete too short words
  19. call deoplete#custom#source(
  20. \ 'dictionary', 'min_pattern_length', 4)