Custom config doesn't seem to be respected #408
-
Hi, I've just wanted to try switching from cmp to blink and I've noticed that my custom configuration doesn't seem to work. Talking especially about kind_icons and auto_show for the documentation. Any suggestions? {
"saghen/blink.cmp",
enabled = true,
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.*",
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
keymap = { preset = "default" },
appearance = {
-- 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
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",
kind_icons = {
Text = "",
Method = "",
Function = "",
Constructor = "",
Field = "",
Variable = "",
Class = "",
Interface = "",
Module = "",
Property = "",
Unit = "",
Value = "",
Enum = "ℰ",
Keyword = "",
Snippet = "",
Color = "",
File = "",
Reference = "",
Folder = "",
EnumMember = "",
Constant = "",
Struct = "𝓢",
Event = "",
Operator = "",
TypeParameter = "",
},
},
completion = {
documentation = {
auto_show = true,
},
},
-- default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, via `opts_extend`
sources = {
completion = {
enabled_providers = { "lsp", "path", "snippets", "buffer" },
},
},
-- experimental auto-brackets support
-- completion = { accept = { auto_brackets = { enabled = true } } }
-- experimental signature help support
-- signature = { enabled = true }
},
-- allows extending the enabled_providers array elsewhere in your config
-- without having to redefine it
opts_extend = { "sources.completion.enabled_providers" },
}, Neovim version: NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info Blink version: v0.6.2 |
Beta Was this translation helpful? Give feedback.
Answered by
Saghen
Nov 30, 2024
Replies: 1 comment 1 reply
-
Hey there, you're looking at the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
KorcakDaniel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey there, you're looking at the
main
documentation instead of the latest release. There's a note at the top with a link to the documentation for the latest release