10 "hrsh7th/cmp-nvim-lua", |
10 "hrsh7th/cmp-nvim-lua", |
11 "hrsh7th/cmp-omni", |
11 "hrsh7th/cmp-omni", |
12 "hrsh7th/cmp-path", |
12 "hrsh7th/cmp-path", |
13 "quangnguyen30192/cmp-nvim-tags", |
13 "quangnguyen30192/cmp-nvim-tags", |
14 }, |
14 }, |
15 opts = function() |
15 config = function() |
16 local cmp = require("cmp") |
16 local cmp = require("cmp") |
17 return { |
17 cmp.setup({ |
|
18 preselect = cmp.PreselectMode.None, |
18 completion = { |
19 completion = { |
19 keyword_length = 3, |
20 keyword_length = 3, |
20 }, |
21 }, |
21 formatting = { |
22 formatting = { |
22 format = function(entry, vim_item) |
23 format = function(entry, vim_item) |