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
23 lines
731 B
" set textwidth for automatic line wrap
|
|
set tw=80
|
|
set spell spelllang=en_us
|
|
set conceallevel=0
|
|
|
|
" disable real time linting, as it might be distracting
|
|
let g:ale_lint_on_text_changed=0
|
|
|
|
let g:ale_fixers = {}
|
|
let g:ale_fixers['markdown'] = ['prettier']
|
|
let g:ale_fix_on_save = 1
|
|
|
|
" complete english words
|
|
setlocal dictionary+=/usr/share/dict/words
|
|
" Remove this if you'd like to use fuzzy search
|
|
call deoplete#custom#source(
|
|
\ 'dictionary', 'matchers', ['matcher_head'])
|
|
" If dictionary is already sorted, no need to sort it again.
|
|
call deoplete#custom#source(
|
|
\ 'dictionary', 'sorters', [])
|
|
" Do not complete too short words
|
|
call deoplete#custom#source(
|
|
\ 'dictionary', 'min_pattern_length', 4)
|