huggingface / huggingface/llm.nvim

`Tab` key not usable in insert mode

Open
#61 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
Lua
Stars
1.2k
Forks
58
Avg merge
30m
Merged PRs (30d)
1

Description

Using this config:
```
"huggingface/llm.nvim",
event = "VeryLazy",
opts = {
api_token = "",

{
tokens_to_clear = { "<|endoftext|>" },
fim = {
enabled = true,
prefix = "",
middle = "",
suffix = "",
},
model = "codellama/CodeLlama-34b-Instruct-hf",
context_window = 8192,
tokenizer = {
repository = "codellama/CodeLlama-34b-Instruct-hf",
}
},

enable_suggestions_on_startup = false,
lsp = {
bin_path = vim.api.nvim_call_function("stdpath", { "data" }) .. "/mason/bin/llm-ls",
},
},

```
I am unable to use the `Tab` key in the insert mode when suggestions are on, but `Tab` works for accepting outputted code. Changing accepting and dismissing keys only made them not usable (in insert mode), and `Tab` working again.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.