Skip to content

Commit

Permalink
feat(cmp): increase threshold for disabling cmp-buffer to 4500
Browse files Browse the repository at this point in the history
Signed-off-by: Jint-lzxy <[email protected]>
  • Loading branch information
Jint-lzxy committed Feb 9, 2025
1 parent b723bf8 commit 8298c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/modules/configs/completion/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ return function()
name = "buffer",
option = {
get_bufnrs = function()
return vim.api.nvim_buf_line_count(0) < 2500 and { vim.api.nvim_get_current_buf() } or {}
return vim.api.nvim_buf_line_count(0) < 4500 and { vim.api.nvim_get_current_buf() } or {}
end,
},
},
Expand Down

0 comments on commit 8298c58

Please sign in to comment.