浏览代码

nixpkgs/neovim: add a/i for function calls

Thomas Dy 3 周之前
父节点
当前提交
a3fb902167
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .config/nixpkgs/neovim/plugins.lua

+ 4 - 0
.config/nixpkgs/neovim/plugins.lua

@@ -282,6 +282,10 @@ require('mini.ai').setup({
   -- only consider the current location
   search_method = 'cover',
   custom_textobjects = {
+    ['.'] = spec_treesitter({
+      a = '@call.outer',
+      i = '@call.inner',
+    }),
     [','] = spec_treesitter({
       a = '@parameter.outer',
       i = '@parameter.inner',