remove: cmp tag, cmpcalc, cmprg

This commit is contained in:
asep.komarudin 2024-06-03 08:43:06 +07:00
parent 07c6b8ce49
commit 130f910923
2 changed files with 0 additions and 14 deletions

View file

@ -104,11 +104,6 @@ vim.g.pcode_coderunner = {
html = "live-server $dir/$fileName",
}
-- config for optional cmp
vim.g.pcode_cmprg = false --https://github.com/lukas-reineke/cmp-rg
vim.g.pcode_cmpcalc = false --https://github.com/hrsh7th/cmp-calc
vim.g.pcode_cmptag = false --https://github.com/quangnguyen30192/cmp-nvim-tags
-- 0 = normal
-- 1 = float
vim.g.pcode_nvimtree_isfloat = 0

View file

@ -1,6 +1,3 @@
local cmprg = vim.g.pcode_cmprg or false
local cmpcalc = vim.g.pcode_cmpcalc or false
local cmptag = vim.g.pcode_cmptag or false
local lspghost_text = vim.g.pcode_lspghost_text or false
local icons = require("user.icons").ui
local cmp_documentation = {
@ -15,9 +12,6 @@ return {
{ "hrsh7th/cmp-path", event = "InsertEnter", lazy = true },
{ "saadparwaiz1/cmp_luasnip", event = "InsertEnter", lazy = true },
{ "hrsh7th/cmp-nvim-lua", event = "InsertEnter", lazy = true },
{ "lukas-reineke/cmp-rg", lazy = true, enabled = cmprg }, -- experimental
{ "hrsh7th/cmp-calc", lazy = true, enabled = cmpcalc }, -- experimental
{ "quangnguyen30192/cmp-nvim-tags", lazy = true, enabled = cmptag }, -- experimental
{
"hrsh7th/nvim-cmp",
lazy = true,
@ -82,9 +76,6 @@ return {
{ name = "buffer" },
{ name = "path" },
{ name = "nvim_lua" },
{ name = "rg" }, -- experimental
{ name = "calc" }, -- experimental
{ name = "tags" }, --experimental
},
formatting = {
fields = { "kind", "abbr", "menu" },