Saghen / blink.cmp

Performant, batteries-included completion plugin for Neovim
MIT License
714 stars 35 forks source link

Nvim crashes with exit code 137 #115

Open kevinschweikert opened 3 hours ago

kevinschweikert commented 3 hours ago

Hey, i really appreciate the effort for this plugin and i'm a very excited user. Just wanted to let you know, that since Version 0.3.0 my nvim crashes with exit code 137 as soon as i enter insert mode and press any character. Reverting to 0.2.1 fixes the issue.

This is my lazy config:

    {
        "saghen/blink.cmp",
        lazy = false, -- lazy loading handled internally
        -- optional: provides snippets for the snippet source
        -- dependencies = "rafamadriz/friendly-snippets",

        -- use a release tag to download pre-built binaries
        version = "v0.2.1",
        -- OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
        -- build = 'cargo build --release',
        -- On musl libc based systems you need to add this flag
        -- build = 'RUSTFLAGS="-C target-feature=-crt-static" cargo build --release',

        opts = {
            keymap = {
                show = "<C-space>",
                hide = "<C-e>",
                accept = "<C-y>",
                select_prev = { "<Up>", "<C-p>" },
                select_next = { "<Down>", "<C-n>" },

                show_documentation = "<C-space>",
                hide_documentation = "<C-space>",
                scroll_documentation_up = "<C-b>",
                scroll_documentation_down = "<C-f>",

                snippet_forward = "<Tab>",
                snippet_backward = "<S-Tab>",
            },
            highlight = {
                -- sets the fallback highlight groups to nvim-cmp's highlight groups
                -- useful for when your theme doesn't support blink.cmp
                -- will be removed in a future release, assuming themes add support
                use_nvim_cmp_as_default = true,
            },
            -- set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
            -- adjusts spacing to ensure icons are aligned
            -- nerd_font_variant = "mono",
            -- experimental auto-brackets support
            accept = { auto_brackets = { enabled = true } },
            -- experimental signature help support
            trigger = { signature_help = { enabled = true } },
        },
    }

If you need more information, let me know!

kevinschweikert commented 3 hours ago

Probably related to #68, because fix is the same. Set the plugin to enabled = false, sync lazy to remove the package, re-enable and now it works on 0.3.1