Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(blink.cmp): tweak "blink.cmp" and some other configs #662

Merged
merged 2 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions lua/configs/saghen/blink-cmp/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ require("blink.cmp").setup({
accept = { auto_brackets = { enabled = true } },
documentation = { auto_show = true },
},
sources = {
min_keyword_length = function()
return 1
end,
},
signature = {
enabled = true,
},
Expand Down
10 changes: 6 additions & 4 deletions lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ local VeryLazy = "VeryLazy"
local BufEnter = "BufEnter"
local BufWritePre = "BufWritePre"
local BufWritePost = "BufWritePost"
local BufReadPre = "BufReadPre"
local BufNewFile = "BufNewFile"
local CmdlineEnter = "CmdlineEnter"
local VimEnter = "VimEnter"
local InsertEnter = "InsertEnter"
Expand Down Expand Up @@ -322,19 +324,19 @@ local M = {
-- Repeat
{
"tpope/vim-repeat",
event = { VeryLazy },
event = { BufReadPre, BufNewFile, VeryLazy },
},
-- Comment
{
"numToStr/Comment.nvim",
event = { VeryLazy },
config = lua_config("numToStr/Comment.nvim"),
event = { BufReadPre, BufNewFile, VeryLazy },
-- config = lua_config("numToStr/Comment.nvim"),
},
-- Surround
{
"kylechui/nvim-surround",
version = "*",
event = { VeryLazy },
event = { BufReadPre, BufNewFile, VeryLazy },
config = lua_config("kylechui/nvim-surround"),
},
-- Structure outlines
Expand Down
Loading