Comments (3)
First, the wanted behavior is already implemented (only in markdown, not in other markup languages).
Second, the idea seems logical, but detecting ALL inserted characters is harder (using vim.on_key
), as there are so many exceptions to remember like whether the previous keypress was <C-v>
or <C-k>
(and that it was in insert mode).
Still, as there are only a dozen exceptions to keep track of, it is possible to implement.
In conclusion: I may implement it in the future.
from ultimate-autopair.nvim.
Totally clear!! All those exceptions makes implementation hard (or even impossible).
Now I notice that's it indeed already implemented in Markdown, but because I'm also using VimWiki, the action is was not recognised (I use .md
files for wiki).
== Feek
from ultimate-autopair.nvim.
Added the feature: balancing spaces when an alpha character is pressed.
Read documentation ultimate-autopair-space2
for more info.
from ultimate-autopair.nvim.
Related Issues (20)
- Automatic newline and indentation for template literals in JavaScript HOT 6
- Bug: Autopair doesn't respect comments or strings in d language HOT 20
- Inserts `^]` character instead of whitespace when used with multicursors.nvim HOT 5
- Strange behaviour for > brackets HOT 13
- Fly mode conflict with treesitter HOT 2
- [Bug] Incorrect space-surround behaviour with HTML comments HOT 3
- Bug: Attempt to perform arithmetic on a nil value while editing a Markdown file HOT 2
- Feature request: Rust lifetime syntax support HOT 14
- [Question] How to ignore a specific parser? HOT 1
- Builtin C-style block comment support HOT 2
- [Question] - JSX Support HOT 4
- alpha extension unexpected behavior HOT 2
- Support for lua `[=[...]=]` string? HOT 4
- [Performance] Holding on space in large markdown files freeze the editor HOT 3
- [Bug] Incorrect pair exiting behavior HOT 1
- [BUG] Wrong behavior when deleting asterisk in makdown files HOT 1
- Healthcheck fails saying parser is missing for 'lua' HOT 4
- [Feature Request] Specify pairs by regular expression HOT 2
- Way to prevent autocomplete if Esc is pressed? HOT 13
- Delete comma after pair HOT 6
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 ultimate-autopair.nvim.