-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lsp): add more option for autocompletion (#6)
* feat(lsp): add more option for autocompletion - completion_around_mode - completion_trigger_characters * feat(coc): support new options * refactor(lsp): add lsp mod * feat(lsp): add more situations for around mode * chore(dicts): add download.sh * chore(package): v0.4.0
- Loading branch information
Showing
13 changed files
with
479 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "coc-ds-pinyin-lsp", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "pinyin input support for (Neo)vim", | ||
"author": "iamcco <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -61,6 +61,16 @@ | |
"default": true, | ||
"description": "If enable auto completion" | ||
}, | ||
"ds-pinyin-lsp.completion_around_mode": { | ||
"type": "boolean", | ||
"default": false, | ||
"description": "If enable around mode for autocompletion" | ||
}, | ||
"ds-pinyin-lsp.completion_trigger_characters": { | ||
"type": "string", | ||
"default": "", | ||
"description": "Trigger characters for trigger autocompletion" | ||
}, | ||
"ds-pinyin-lsp.show_symbols": { | ||
"type": "boolean", | ||
"default": true, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const extensionName = 'ds-pinyin-lsp'; | ||
export const dbName = 'dict.db3'; | ||
export const dbTag = 'v0.3.0'; | ||
export const dbTag = 'v0.4.0'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/cn_dicts/8105.dict.yaml -o ./dicts/8105.dict.yaml | ||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/cn_dicts/base.dict.yaml -o ./dicts/base.dict.yaml | ||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/cn_dicts/ext.dict.yaml -o ./dicts/ext.dict.yaml | ||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/cn_dicts/others.dict.yaml -o ./dicts/others.dict.yaml | ||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/cn_dicts/sogou.dict.yaml -o ./dicts/sogou.dict.yaml | ||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/cn_dicts/tencent.dict.yaml -o ./dicts/tencent.dict.yaml | ||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/opencc/others.txt -o ./dicts/others.txt | ||
curl https://raw.githubusercontent.com/iDvel/rime-ice/main/opencc/emoji.txt -o ./dicts/emoji.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pub mod lsp; | ||
pub mod sqlite; | ||
pub mod types; | ||
pub mod utils; |
Oops, something went wrong.