Qingzhou Yue
Qingzhou Yue
刚刚进行了测试输入中文句号后,可以键入其他字母,但只要输入y就会出现相同的错误,例如我输入`。abc`,此时一切正常,但当我输入`y`,便产生了同样的报错信息。
after adding this code, the problem is solved. So I wonder why this problem occurs even when including cuda_utils.h; CUDA_CALL is defined in cuda_utils.h as below: 
> 你如果补全也在用 `nvim-cmp` 的话,可以尝试下我这个方案。 > 这部分:https://github.com/TwIStOy/dotvim/blob/df9e00b6376c62a285b8c8fe37e61c4ffed251e8/lua/dotvim/pkgs/extra/misc/rime.lua#L46-L87 感谢 @TwIStOy 提供的方案,给了我很大的启发,但是提供的方案在快速输入的时候会有明显的卡顿,因此我对其做了如下的改动(没有绑定空格上屏,如果需要,只需要增加一个绑定即可): ```lua local rime_ls_filetypes = { 'markdown', 'vimwiki' } local function is_rime_entry(entry) return vim.tbl_get(entry, "source", "name") == "nvim_lsp" and vim.tbl_get(entry, "source", "source",...
你说的第二个问题,我也遇到了,关于中文输入我找到了比较好的解决方案: 1. 将输入方案中标点设置为西文输入。 2. 使用以下的代码通过标点+空格的方式在开启`rime-ls`的情况下输入中文标点,如果要输入英文标点,则是直接输入标点然后等一会儿(取决于`updatetime`的大小) ```lua local punc_en = {',', '.', ':', ';', '?'} local punc_zh = {',', '。', ':', ';', '?'} vim.api.nvim_create_autocmd('FileType', { pattern = rime_ls_filetypes, callback = function...
[coc-copilot](https://github.com/hexh250786313/coc-copilot),这个是我之前在使用的集成`copilot`到`coc`的插件,希望能够对集成`fitten-code`到`coc`有所帮助。
可能集成coc的话做成coc的插件会不会好一点?当然如果直接能在这个仓库集成也可以。
There is another issue: when in visual mode I selected some text, and press space once the WhichKey pops out, I lose all I've selected, the command executed later will...
目前没有上下文,可以中文提问
> 官方现在没有公开 `Chat` 的 `API` (包括Explain/Document等Actions), 所以现在的对话是通过构造特殊的 [`prompt`](lua/fittencode/prompt_providers/actions/start_chat.lua) 调用代码补全的 [`API`](https://github.com/luozhiya/fittencode.nvim/blob/14cfc850555505d78e47696bbd92aeb006786230/lua/fittencode/client/url.lua#L6) 来模拟实现的。 > > 可能存在的限制 > > * 不支持多轮对话 > * 不支持中文? > * 结果和VSCode的 Chat 有差异 好的,中文是支持的,你得问问题的时候让他用中文回答他就能回答。也就是现在对于内容的长度等也有限制?
> 官方现在没有公开 `Chat` 的 `API` (包括Explain/Document等Actions), 所以现在的对话是通过构造特殊的 [`prompt`](lua/fittencode/prompt_providers/actions/start_chat.lua) 调用代码补全的 [`API`](https://github.com/luozhiya/fittencode.nvim/blob/14cfc850555505d78e47696bbd92aeb006786230/lua/fittencode/client/url.lua#L6) 来模拟实现的。 > > 可能存在的限制 > > * 不支持多轮对话 > * 不支持中文? > * 结果和VSCode的 Chat 有差异 最后有没有可能吧这个输入框在chat打开的时候直接放在chat这个窗口里面,感觉这样更合理一点。