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

请求新增实现输出当时年月日时农历干支的lua功能 #565

Closed
allgoldore opened this issue Dec 8, 2023 · 10 comments
Closed
Labels
enhancement New feature or request

Comments

@allgoldore
Copy link

能否参照98五笔的rime,文件在http://ys-f.ysepan.com/602672954/916656780/u55547H3X5IMJHjsSOVUb3/Rime.7z?lx=xz 在rime-ice里面实现输入nl出现天干地支,即八字功能。我折腾了十几个小时,甚至动用ai也没有成功。

@iDvel
Copy link
Owner

iDvel commented Dec 8, 2023

ys-f.ysepan.com 显示
文件链接已经失效!

@allgoldore
Copy link
Author

前天还好好的,附件给您。帮忙看看能不能移植过来,其实它里面的功能非常强大,但是我不用五笔。非常谢谢。为减少体积build文件夹没有打包。
wubi98.zip

@iDvel
Copy link
Owner

iDvel commented Dec 11, 2023

我也看不懂

@boomker
Copy link
Contributor

boomker commented Dec 29, 2023

参考:

  1. number_to_cn.lua
  2. lunar.lua

效果:
image
 

@iDvel iDvel added the enhancement New feature or request label Dec 31, 2023
@iDvel iDvel closed this as completed in 659f132 Jan 2, 2024
@expoli
Copy link
Contributor

expoli commented Jan 7, 2024

话说这个功能怎么使用?

@expoli
Copy link
Contributor

expoli commented Jan 7, 2024

话说这个功能怎么使用?

找到了在这里面进行配置的:

Lua 配置:农历

lunar: lunar

@iDvel
Copy link
Owner

iDvel commented Jan 7, 2024

话说这个功能怎么使用?

在方案中 patch 关键字:

patch:
  lunar: asdf

默认全拼输入 nl 触发,双拼输入 lunar 触发。

@expoli
Copy link
Contributor

expoli commented Jan 7, 2024

patch:
  lunar: asdf

thx

@expoli
Copy link
Contributor

expoli commented Jan 13, 2024

4172def5eb055f557c099f8a2c0c43e
想问一下,这个从98这边移植过来的 lua 脚本支持对特定时间进行转换嘛?这是看到使用对应 98五笔的rime 的用户显示的效果。
如果现在不可以、有考虑启用适配嘛?

@iDvel
Copy link
Owner

iDvel commented Jan 14, 2024

想问一下,这个从98这边移植过来的 lua 脚本支持对特定时间进行转换嘛?这是看到使用对应 98五笔的rime 的用户显示的效果。
如果现在不可以、有考虑启用适配嘛?

可以的,我也改成 N 开头的。

iDvel added a commit that referenced this issue Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants