https://github.com/iamcco/coc-zi
look or google 10000 english for (neo)vim
https://github.com/iamcco/coc-zi
Last synced: 5 months ago
JSON representation
look or google 10000 english for (neo)vim
- Host: GitHub
- URL: https://github.com/iamcco/coc-zi
- Owner: iamcco
- Created: 2018-12-08T13:04:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-28T03:53:42.000Z (over 2 years ago)
- Last Synced: 2025-03-16T05:05:03.846Z (10 months ago)
- Language: TypeScript
- Homepage:
- Size: 366 KB
- Stars: 27
- Watchers: 2
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
coc-zi
Auto suggest english words when you type for the right place
> If `look` command does not exists it will only use 10k words.
- auto suggest
- hover document using [ECDICT](https://github.com/skywind3000/ECDICT)

## Install
`:CocInstall coc-zi`
## Translators
`:CocList translators`

## Settings
- `zi.enable`: enable coc-zi
- `zi.trace.server`: Trace level of log
- `zi.patterns`: javascript regex patterns to enable autocomplete, empty array `[]` means enable for whole buffer. defalut:
``` jsonc
"zi.patterns": {
"": [],
"javascript": [
"^\\s*\\/\\/",
"^\\s*\\/\\*",
"^\\s*\\*"
],
"typescript": [
"^\\s*\\/\\/",
"^\\s*\\/\\*",
"^\\s*\\*"
],
"markdown": [],
"vim": [
"^\\s*\\\""
],
"gitcommit": []
}
```
- `zi.syntaxKinds.javascript`: syntax kind to enable autocomplete. default:
``` jsonc
"zi.syntaxKinds.javascript": [
"StringLiteral",
"NoSubstitutionTemplateLiteral",
"TemplateHead",
"TemplateTail",
"TemplateMiddle"
]
```
- `zi.syntaxKinds.typescript`: syntax kind to enable autocomplete. default:
``` jsonc
"zi.syntaxKinds.javascript": [
"StringLiteral",
"NoSubstitutionTemplateLiteral",
"TemplateHead",
"TemplateTail",
"TemplateMiddle"
]
```
## Credits
- translate api is from [coc-translator](https://github.com/voldikss/coc-translator)
### Buy Me A Coffee ☕️

