Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support BSD-look utility for english-like word completion #24

Open
krishnakumarg1984 opened this issue Mar 27, 2020 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@krishnakumarg1984
Copy link

This is a copy of issue 1689 at the coc.nvim repository. Opening it here since it doesn't look like that repository deals with sources.

Background

While the Google 10k words source provided by coc.nvim is good, when I write really long fiction/technical/editorial works in LaTeX and/or Markdown, these commonly-used words quickly become insufficient. I am then forced to manually type out the full (potentially) long words. The coc-dictionary source also is not satisfactory.

Use BSD-look

The look utility is pre-installed on macOS, *BSD and pretty much every linux distribution (either pre-installed or available in repos), and since it is standard C-code, it can be even compiled for Windows natively (a cygwin package is already available anyway). With its stdin/stdout interface and a host of other simple programmable interfaces, it can serve as a fantastic English language completion utility. It uses the local dictionary installed in the OS, eg. in /usr/share/dict/words and allows for adding custom words to the dictionary (which may be useful for highly specialised technical/medical writing for example).

Alternatives Considered

Before coc.nvim, I was using deoplete and then ncm-2. They both have implemented look completion sources, which I was quite happy with.

Additional context

Please retain google 10k source with a lower completion priority than look.

@fannheyward
Copy link
Member

Use cic-dictionary + setl dictionary+=/usr/share/dict/words.

@chemzqm chemzqm added the help wanted Extra attention is needed label Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants