return { -- Flash/fade cursor locator { "danilamihailov/beacon.nvim", opts = { speed = 1, width = 30, min_jump = 2, }, }, -- Darker bg in tokyonight { "folke/tokyonight.nvim", opts = { style = "night" } }, -- Install gruvbox as option { "ellisonleao/gruvbox.nvim" }, -- Flash nvim labels { "folke/flash.nvim", opts = { labels = "hoeadstnbufgmlzxcv", }, }, { "hrsh7th/nvim-cmp", init = function() vim.g.cmp_disabled = false end, opts = function(_, opts) opts.enabled = function() -- local context = require("cmp.config.context") if vim.g.cmp_disabled == true then return false end -- some other conditions (like not in commments) can go here return not disabled end end, keys = { { "ua", function() vim.g.cmp_disabled = not vim.g.cmp_disabled local msg = "" if vim.g.cmp_disabled == true then msg = "Autocompletion (cmp) disabled" else msg = "Autocompletion (cmp) enabled" end vim.notify(msg, vim.log.levels.INFO) end, noremap = true, silent = true, desc = "toggle autocompletion", }, }, }, }