v0.4.1
Feat
- 支持 UTF-8 和 UTF-32 编码,按 LSP 3.17 标准在初始化时与客户端协商 (it also fixes #38)
Doc
- 增加 nvim + blink.cmp 的配置示例 (Thanks to Kaiser-Yang #46)
- 增加 nvim 下的多种功能的配置示例 (Thanks to Kaiser-Yang #44 #45 #46)
Chore
What's Changed
- add win ci by @asukaminato0721 in #39
- mac ci by @asukaminato0721 in #40
- doc: add some examples for nvim + cmp by @Kaiser-Yang in #44
- enhance: make the configuration for nvim-cmp more suitable by @Kaiser-Yang in #45
- feat: impl position encoding selection by @wlh320 in #47
- doc: add configuration example for nvim with blink by @Kaiser-Yang in #46
New Contributors
- @asukaminato0721 made their first contribution in #39
- @Kaiser-Yang made their first contribution in #44
Full Changelog: v0.4.0...v0.4.1
Build
On my PC, script:
LIBRIME_VER=1.12.0
LIBRIME_HASH=c7ab639
PROJECT_PATH=~/build/rime-ls
RIME_LS_VER=0.4.1
# download and extract librime
mkdir librime
wget https://github.com/rime/librime/releases/download/${LIBRIME_VER}/rime-${LIBRIME_HASH}-macOS-universal.tar.bz2 \
-O librime/mac.tar.bz2
mkdir librime/mac
tar xvjf librime/mac.tar.bz2 -C librime/mac
wget https://github.com/rime/librime/releases/download/${LIBRIME_VER}/rime-${LIBRIME_HASH}-Windows-msvc-x64.7z \
-O librime/msvc.7z
7z x librime/msvc.7z -olibrime/msvc
# build
## linux
LIBRIME_INCLUDE_DIR=/usr/include LIBRIME_LIB_DIR=/usr/lib cargo zigbuild --target x86_64-unknown-linux-gnu.2.17 --release
## windows msvc
LIBRIME_INCLUDE_DIR=${PROJECT_PATH}/librime/msvc/dist/include LIBRIME_LIB_DIR=${PROJECT_PATH}/librime/msvc/dist/lib cargo xwin build --target x86_64-pc-windows-msvc --release
## macos
LIBRIME_INCLUDE_DIR=${PROJECT_PATH}/librime/mac/dist/include LIBRIME_LIB_DIR=${PROJECT_PATH}/librime/mac/dist/lib cargo zigbuild --target universal2-apple-darwin --release
# compress artifacts
sha256sum target/x86_64-pc-windows-msvc/release/rime_ls.exe
sha256sum target/universal2-apple-darwin/release/rime_ls
sha256sum target/x86_64-unknown-linux-gnu/release/rime_ls
tar czvf target/rime-ls-v${RIME_LS_VER}-x86_64-unknown-linux-gnu.tar.gz -Ctarget/x86_64-unknown-linux-gnu/release/ rime_ls
tar cjvf target/rime-ls-v${RIME_LS_VER}-universal2-apple-darwin.tar.bz2 -Ctarget/universal2-apple-darwin/release/ rime_ls
7z a ./target/rime-ls-v${RIME_LS_VER}-x86_64-pc-windows-msvc.7z ./target/x86_64-pc-windows-msvc/release/rime_ls.exe
Checksum
sha256sum
fe2c5b3172bcd2620f62d3ba3603e6b7846e51ac87cf681b7138d1186610866d target/x86_64-pc-windows-msvc/release/rime_ls.exe
0a6ceaa8b077bc23285fed888f973ece9aa930abf17ca02735c09ca8c709f290 target/universal2-apple-darwin/release/rime_ls
0635d8ffb273ebba8a4a2c4e2180f10bef083eafaaa54e08777b30aed5ac5512 target/x86_64-unknown-linux-gnu/release/rime_ls