Completion and funny space bar stuff.

This commit is contained in:
bnilsen 2026-07-24 11:58:52 -04:00
parent 4eb88a2417
commit 2a5c7e3581
2 changed files with 17 additions and 2 deletions

View file

@ -26,7 +26,9 @@ return {
-- C-k: Toggle signature help (if signature.enabled = true)
--
-- See :h blink-cmp-config-keymap for defining your own keymap
keymap = { preset = 'default' },
keymap = { preset = 'default',
-- ['<C-Space'] = { 'show', 'show_documentation', 'hide' },
},
appearance = {
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
@ -44,9 +46,17 @@ return {
-- Default list of enabled providers defined so that you can extend it
-- elsewhere in your config, without redefining it, due to `opts_extend`
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
default = { 'lsp', 'path', 'snippets', 'buffer', 'datastar' },
providers = {
datastar = {
name = "datastar",
module = "datastar.cmp_source",
score_offset = 100,
}
},
},
-- (Default) Rust fuzzy matcher for typo resistance and significantly better performance
-- You may use a lua implementation instead by using `implementation = "lua"` or fallback to the lua implementation,
-- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"`