-- Editor enhancement plugins return { -- Collection of various small independent plugins/modules { 'echasnovski/mini.nvim', config = function() require('plugins.config.editor').setup_mini() end, }, -- Highlight, edit, and navigate code { 'nvim-treesitter/nvim-treesitter-textobjects', event = 'VeryLazy', dependencies = { 'nvim-treesitter/nvim-treesitter' }, }, -- Detect tabstop and shiftwidth automatically { 'tpope/vim-sleuth' }, -- Comment plugin { 'numToStr/Comment.nvim', event = 'VeryLazy', opts = {}, }, -- Highlight word under cursor { 'RRethy/vim-illuminate', event = { 'BufReadPost', 'BufNewFile' }, config = function() require('plugins.config.editor').setup_illuminate() end, }, }