Skip to content

Commit

Permalink
bump version to v0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wlh320 committed Oct 10, 2023
1 parent 279d384 commit eca5cb2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# v0.2.4

## Fix
- 修复了不定期发生的补全无法触发的问题 #14
- 修复了 termux 环境下的构建失败 #8

## Feat
- 允许通过新配置项 `paging_characters` 自定义触发补全的字符,主要用途是翻页 #13

## Chore
- 有了基础的 GitHub CI #9 (Thanks to eagleoflqj)

# v0.2.3

## Breaking Changes
Expand Down
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rime_ls"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
authors = ["ZilcH40 <[email protected]>"]
rust-version = "1.63"
Expand All @@ -9,17 +9,17 @@ rust-version = "1.63"

[dependencies]
librime-sys = { version = "0.1.0", git = "https://github.com/lotem/librime-sys" }
dashmap = "5.4.0"
regex = "1.7.1"
dashmap = "5.5.3"
regex = "1.10.0"
ropey = "1.6.0"
tokio = { version = "1", features = ["io-util", "io-std", "macros", "rt-multi-thread", "net", "signal"] }
tower-lsp = "0.19.0"
tower-lsp = "0.20.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.91"
directories = "4.0.1"
ouroboros = "0.15.5"
thiserror = "1.0.38"
once_cell = "1.17.0"
serde_json = "1.0.107"
directories = "5.0.1"
ouroboros = "0.18.0"
thiserror = "1.0.49"
once_cell = "1.18.0"

[features]
default = []
Expand Down
2 changes: 2 additions & 0 deletions doc/nvim.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ local start_rime = function()
user_data_dir = "~/.local/share/rime-ls", -- 指定用户目录, 最好新建一个
log_dir = "~/.local/share/rime-ls", -- 日志目录
max_candidates = 10, -- [v0.2.0 后不再有用] 与 rime 的候选数量配置最好保持一致
paging_characters = {",", ".", "-", "="}, -- [since v0.2.4] 这些字符会强制触发一次补全,可用于翻页 见 issue #13
trigger_characters = {}, -- 为空表示全局开启
schema_trigger_character = "&" -- [since v0.2.0] 当输入此字符串时请求补全会触发 “方案选单”
always_incomplete = false -- [since v0.2.3] true 强制补全永远刷新整个列表,而不是使用过滤
Expand Down Expand Up @@ -307,6 +308,7 @@ require('lspconfig').rime_ls.setup {
user_data_dir = "~/.local/share/rime-ls",
log_dir = "~/.local/share/rime-ls",
max_candidates = 9,
paging_characters = {",", ".", "-", "="}, -- [since v0.2.4] 这些字符会强制触发一次补全,可用于翻页 见 issue #13
trigger_characters = {},
schema_trigger_character = "&" -- [since v0.2.0] 当输入此字符串时请求补全会触发 “方案选单”
max_tokens = 4, -- 强制在删除到4字的时候重建一次候选词,避免用退格造成的空列表的问题
Expand Down
1 change: 1 addition & 0 deletions doc/vim.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"user_data_dir": "~/.local/share/rime-ls", // 指定用户目录,最好新建一个
"log_dir": "~/.local/share/rime-ls", // 日志目录
"max_candidates": 9, // [v0.2.0 后不再有用] 与 rime 的候选数量配置最好保持一致
"paging_characters": [",", "."], // [since v0.2.4] 这些符号会强制触发一次补全,可用于翻页 见 issue #13
"trigger_characters": [], // 为空表示全局开启
"schema_trigger_character": "&" // [since v0.2.0] 当输入此字符串时请求补全会触发 “方案选单”
}
Expand Down

0 comments on commit eca5cb2

Please sign in to comment.