-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Labels
feature-requestRequest for a feature to existing moduleRequest for a feature to existing modulemini.ai
Description
Contributing guidelines
- I have read CONTRIBUTING.md
- I have read CODE_OF_CONDUCT.md
Module(s)
mini.ai
Description
I'm having a hard time migrating from nvim-treesitter-objects
to mini.ai
with gen_spec.treesitter
generator. I can't find a way to set the selection_modes
without changing the mini.ai
text object implementation itself.
select = {
enable = true,
lookahead = true,
keymaps = {
["af"] = "@function.outer",
["if"] = "@function.inner",
["am"] = "@class.outer",
["im"] = "@class.inner",
["ar"] = "@block.outer",
["ir"] = "@block.inner",
},
selection_modes = {
["@parameter.outer"] = "v",
["@function.outer"] = "V",
["@class.outer"] = "V",
["@block.outer"] = "V",
},
},
How can I set the selection mode in mini.ai
in a simpler way like the above setup syntax?
Metadata
Metadata
Assignees
Labels
feature-requestRequest for a feature to existing moduleRequest for a feature to existing modulemini.ai