Something went wrong. Try again.
My own personal NeoVim configuration. Powered by vim.pack and lz.n
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849return { src = "https://github.com/saghen/blink.cmp", name = "blink.cmp", version = vim.version.range("1"), spec = { "blink.cmp", event = { "InsertEnter", "CmdlineEnter" }, after = function() require("blink.cmp").setup({ keymap = { preset = "super-tab", ["<Up>"] = { "select_prev", "fallback" }, ["<Down>"] = { "select_next", "fallback" }, ["<C-b>"] = { "scroll_documentation_up", "fallback" }, ["<C-f>"] = { "scroll_documentation_down", "fallback" }, ["<C-k>"] = { "show_signature", "hide_signature", "fallback" }, }, appearance = { nerd_font_variant = "mono", }, sources = { default = { "lsp", "path", "snippets", "buffer" }, }, fuzzy = { implementation = "prefer_rust_with_warning" }, completion = { keyword = { range = "prefix" }, menu = { draw = { treesitter = { "lsp" }, }, }, trigger = { show_on_trigger_character = true }, documentation = { auto_show = true, }, }, signature = { enabled = true }, cmdline = { keymap = { preset = "inherit" }, completion = { menu = { auto_show = true } }, }, }) vim.lsp.config("*", { capabilities = require("blink.cmp").get_lsp_capabilities(), }) end, },}