Comments (4)
Thanks for the suggestion!
The "argument" and "function_call" textobjects are exposed in gen_spec
because they might be configured to use some different hyper parameters.
Currently I don't think exposing the whole 'builtin_textobjects' is a good idea from maintenance perspective while bringing not huge amount of dividends (setting them up explicitly still works). But I'll think about it.
from mini.nvim.
Sorry, I don't think it is too much for users to have explicit definitions for textobjects that they want to use. And as already was said, "argument" and "function_call" may need configuration so having them in gen_spec
makes sense.
Closing as not planned.
from mini.nvim.
That's disappointing to hear, maybe i lack perspective but I didn't think that there would be such a maintenance burden from exposing whats already implemented. I just want to use the existing builtin textobjects with a different key; now I have to repeat the esoteric definitions and lose out on updates unless I manually check whether they have changed.
from mini.nvim.
... but I didn't think that there would be such a maintenance burden from exposing whats already implemented.
It is implemented as an internal helper right now which means that it is free to be transformed in any way that might be necessary. Exporting it makes it harder to do.
Plus documenting and testing all of those 15 extra specifications takes space and effort.
Plus if this is done in 'mini.ai', then it is reasonable to be done in 'mini.surround', which adds 13 more surrounding specifications to export, document, and test.
As both 'mini.ai' and 'mini.surround' are already quite big and benefits are not huge, I'd better not export them.
from mini.nvim.
Related Issues (20)
- Inconsistent spaces in mini.splitjoin HOT 1
- mini.pairs: Triple quotes / backticks HOT 1
- Potential Issue with Windows OS Paths on opening COMMIT_EDITMSG buffers - Mini.Git HOT 4
- Beta-testing 'mini.icons' HOT 91
- Work with motions HOT 1
- add motion that move cursor to first/last line of the paragraph? HOT 1
- Add a new colorscheme for Terminal mode in mini.statusline HOT 1
- Syntax highlight the signature preview HOT 3
- [mini.hipatterns] Question about the use of virtual inline text for custom highlights like hex_color()
- Mini.Pick E79: Cannot expand Wildcards // (Pick lsp) HOT 5
- mini.surround: Incorrect default config.search_method value in help page. HOT 2
- Add filetypes to exclude in mini.trailspace HOT 2
- mini.completion: boolean flag on configuration for enabling / disabling autocompletion HOT 1
- [mini.completion] info window position conflicts with `noice.nvim`? HOT 1
- Maintain relative directory in plugins which open buffers HOT 1
- mini.diff: Symlinked files unintentionally report as changed/added on every line HOT 3
- mini.icons not loaded as dependency for oil.nvim HOT 1
- saip excluding trailing whitespace HOT 4
- Surround keymap broken HOT 8
- Weird conflicting behavior with `dial.nvim` HOT 1
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 mini.nvim.