Skip to content

Tab key not usable in insert mode #61

@marendowski

Description

@marendowski

Using this config:

"huggingface/llm.nvim",
event = "VeryLazy",
opts = {
    api_token = "<key>",

    {
        tokens_to_clear = { "<|endoftext|>" },
        fim = {
            enabled = true,
            prefix = "<fim_prefix>",
            middle = "<fim_middle>",
            suffix = "<fim_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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions