dirichy

Results 29 comments of dirichy

I meet the same problem.

这个是bug吗还是本来就是这么设计的,有没有可能按数字直接就可以继续输入呀

有没有可能可以用keymap解决呢,数字k映射成让第k个选项上屏。这个做法有一个问题就是如果打的字比较长但是后面的选项比较短的话选了短的选项会吃掉所有打的字。所以能不能判断是否在按完数字键以后已经给所有的拼音选好了字呢?这个应该是LSP可以做的吧,我看了打印出来的entries,有一点点复杂,想问问里面有没有能判断是否已经给所有拼音选好字的选项,谢谢!

https://github.com/wlh320/rime-ls/assets/144102919/0769aa34-31ab-4dbf-a5df-9b1040a5bb2a 我目前只能实现到这一步 不知道有没有办法检测是否已经完成一次输入。

好的,如果实现了我就把代码贴出来

https://github.com/wlh320/rime-ls/assets/144102919/f50bf67a-167f-4a75-af17-248b8d8dabab 初步解决,但是这个方法性能比较差,快速输入的时候有时候不跟手。现在的原理是在数字输入后检查不全项目,相当慢。 想问问您这个lsp里面有没有接口能判断每个项目匹配到的输入的部分是什么,比如我输入nihao的时候第二个项目是“你”,我有没有可能通过api知道这个项目匹配到的是“ni”。 如果可以的话我就可以不在数字输入后在做判断而是在数字输入时直接判断数字对应的项目是否应该直接上屏了。

> Basically, for the Pro Controller and compatible devices, no valid events are received over a Bluetooth connection, while a USB connection continuously sends random events even when nothing is...

I don't know why build app in this way can't get parameters when opening file. in fact, I tried a binary just print all of parameters it get to a...

I tried for a while, I think it is solveable. By the shell command “tmux list-panes” we can get all information of windows in current tmux session. Then we can...

I know $ is part of norg syntax, but it is also used in latex syntax. More exactly, the injection language is *not* latex, instead it’s latex_inline_math. In nvim-treesitter for...