hoofcushion

Results 63 comments of hoofcushion

@mokapsing 在哪里反查?对于任意候选都可以吗?

> 一般从 table_translator (enable_completion: true 时) 产生的 candidate 可以从 cand.type =="completion" 来判断 script_translator下此方法无效。

> ```lua > local dict = env.engine.schema.config:get_string("translator/dictionary") or env.engine.schema.schema_id > env.reversedb = ReverseDb("build/" .. dict .. ".reverse.bin") > --... > for cand in tran:iter() do > local code = env.reversedb:lookup(cand.text)...

中英混词应该主翻译器隔离开来 中英混词的编码独特,且在长句输入时不会用上,因此隔离开效果会更好。

How to force the font by using lua? I use `lua vim.opt.guifont=""` but I got an error like this: ![image](https://github.com/equalsraf/neovim-qt/assets/32760059/bdbb057e-7def-4b28-abdd-38c435cf0933)

It seems there is no command called GuiFont Both `:lua vim.cmd('GuiFont')` and `:GuiFont` doesn't work ![image](https://github.com/equalsraf/neovim-qt/assets/32760059/d6f4c85c-8eaa-4781-8b71-13eb746aa856) ![image](https://github.com/equalsraf/neovim-qt/assets/32760059/fd92e736-3e75-40bc-950b-500d68435a95) Am I doing anything wrong?

I got it, `nvim_gui_shim.vim` is required. and somehow I haven't got one.

To force the font by using lua, use this `lua vim.rpcnotify(0, 'Gui', 'Font', , "!")`.

> Usually you don't need to set it up manually, check its path in https://github.com/equalsraf/neovim-qt#why-are-the-gui-commands-missing I checked, and it just wasn't there, I download one from the repo, and everything...

I think it's from the official website of [Neovim](https://neovim.io) 1. Install Now ![image](https://github.com/equalsraf/neovim-qt/assets/32760059/76996ed5-5555-43e5-86e0-623896ed037c) 2. Redirect to Github Wiki 3. Install from download 4. Latest stable release 5. [Windows](https://github.com/neovim/neovim/releases/latest/download/nvim-win64.msi) ![image](https://github.com/equalsraf/neovim-qt/assets/32760059/a2932766-6453-4701-9f53-0d1766e3bb40)