junegunn / junegunn/fzf.vim

fzf-complete-word should respect dictionary option

Open
#1,029 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (`man fzf`)
- [x] I have searched through the existing issues

Currently fzf-complete-word is using hardcoded dictionary file `/usr/share/dict/words`.
https://github.com/junegunn/fzf.vim/blob/a74605b81d0dc2b28d35d9a1ab414dbdcbe3f45b/autoload/fzf/vim/complete.vim#L49-L53

It does not support vim option (a list of specified dictionary files)
```
set dictionary+=~/.vim/dict/words
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.