update
This commit is contained in:
parent
be89c2a2e0
commit
27699896bf
11 changed files with 467 additions and 167 deletions
|
|
@ -25,43 +25,44 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- "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.*",
|
||||
-- -- OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
|
||||
-- -- build = 'cargo build --release',
|
||||
--
|
||||
-- opts = {
|
||||
-- keymap = {
|
||||
-- show = "<C-S-space>",
|
||||
-- accept = "<Enter>",
|
||||
-- select_prev = { "<S-Tab>", "<C-j>" },
|
||||
-- select_next = { "<C-Tab>", "<C-k>" },
|
||||
--
|
||||
-- snippet_forward = "<Tab>",
|
||||
-- snippet_backward = "<C-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 = "normal",
|
||||
--
|
||||
-- -- experimental auto-brackets support
|
||||
-- -- accept = { auto_brackets = { enabled = true } }
|
||||
--
|
||||
-- -- experimental signature help support
|
||||
-- -- trigger = { signature_help = { enabled = true } }
|
||||
-- },
|
||||
-- },
|
||||
{ "hrsh7th/nvim-cmp", enabled = false },
|
||||
{
|
||||
"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.*",
|
||||
-- OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
|
||||
-- build = 'cargo build --release',
|
||||
|
||||
opts = {
|
||||
keymap = {
|
||||
show = "<C-S-space>",
|
||||
accept = "<Enter>",
|
||||
select_prev = { "<S-Tab>", "<C-j>" },
|
||||
select_next = { "<C-Tab>", "<C-k>" },
|
||||
|
||||
snippet_forward = "<Tab>",
|
||||
snippet_backward = "<C-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 = "normal",
|
||||
|
||||
-- experimental auto-brackets support
|
||||
-- accept = { auto_brackets = { enabled = true } }
|
||||
|
||||
-- experimental signature help support
|
||||
-- trigger = { signature_help = { enabled = true } }
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue