From 1731f7f5b21799348d29716c2ecb698c0f771e59 Mon Sep 17 00:00:00 2001 From: Georgi Dimitrov Date: Sun, 3 Mar 2024 13:10:54 +0000 Subject: [PATCH] neovim: add mini.ai --- nvim/lua/plugins/text-editing.lua | 9 +++++++++ nvim/lua/plugins/treesitter.lua | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/nvim/lua/plugins/text-editing.lua b/nvim/lua/plugins/text-editing.lua index 4c99a82d..892bedfa 100644 --- a/nvim/lua/plugins/text-editing.lua +++ b/nvim/lua/plugins/text-editing.lua @@ -1,4 +1,13 @@ return { + { + 'echasnovski/mini.ai', + opts = { + n_lines = 500, + }, + config = function(_, opts) + require('mini.ai').setup(opts) + end, + }, { 'echasnovski/mini.surround', opts = { diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua index f05a4cc3..eb53be22 100644 --- a/nvim/lua/plugins/treesitter.lua +++ b/nvim/lua/plugins/treesitter.lua @@ -74,8 +74,6 @@ return { ['if'] = '@function.inner', ['ac'] = '@class.outer', ['ic'] = '@class.inner', - ['ap'] = '@parameter.outer', - ['ip'] = '@parameter.inner', }, }, move = {