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.
18 lines
619 B
18 lines
619 B
" set textwidth for automatic line wrap
|
|
set tw=80
|
|
set spell spelllang=en_us
|
|
|
|
" disable real time linting, as it might be distracting
|
|
let g:ale_lint_on_text_changed=0
|
|
|
|
" 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)
|