Comments (3)
That functionality comes from mini.ai. Create an issue at the plugin's repo, as this can't be fixed here. And I also don't know if this is something inherent with Lua patterns, but I'm sure the plugin's maintainer will give a more appropriate answer.
from lazyvim.
That functionality comes from mini.ai. Create an issue at the plugin's repo, as this can't be fixed here. And I also don't know if this is something inherent with Lua patterns, but I'm sure the plugin's maintainer will give a more appropriate answer.
thanks for quick respond, sadly his repo not accept any Issue.
from lazyvim.
See this comment in the issue. My guess is this is something similar. In treesitter textobjects this is captured as a function (probably because of the arrow function), so you can use vif
to choose everything inside the first parentheses.
Also, if you want to create an issue, you create it at the main repo. But I've seen other issues like this and it seems to be a limitation with Lua pattern searching (which the plugin uses). It never hurts to try though.
PS: I see that the Neovim builtin textobject behaves correctly. So you could do something like
{
"echasnovski/mini.ai",
opts = {
custom_textobjects = {
b = false,
},
},
},
and then instead of vi)
you do vib
for the builtin Neovim block textobject and have the desired behavior.
from lazyvim.
Related Issues (20)
- feature: add mason-tool-installer for auto updating packages HOT 5
- bug: Attempt to index field 'foldupdate_range' (a nil value) HOT 1
- bug: codelldb does not find localhost because it resolves to ipv6 address HOT 1
- bug: fzflua opens file inside picker window HOT 6
- bug: clearjumps on VimEnter doesn't take affect
- bug: Searching Workspace symbols dont work with fzf-lua extra
- bug: fzf & noice history
- bug: yanky plugin error HOT 2
- bug: can not disable lap signature help in insert mode HOT 1
- bug: fzf-lua conflicts with project.nvim
- bug: Venv-selector extra does not work without Telescope.nvim HOT 3
- bug: Pick.lua failing when selecting option with another buffer open
- bug: Formatter introduces syntax errors HOT 6
- bug: enabling fzf extra via config doesn't work (install telescope specs) HOT 27
- bug: Todo binds still hardcoded to telescope
- bug: rename is invalid in vue file
- bug: vtsls outputing incorrect diagnostics in Neovim 0.10.0
- bug: Failed to run `config` for fzf-lua HOT 7
- bug: codelldb adapter path incorrect after removal of mason-nvim-dap.nvim dependency HOT 4
- bug: Symlink config files not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazyvim.