Comments (1)
Nvim strikes again.
I assume you're referring to this:
auto-pairs/autoload/autopairs.vim
Lines 618 to 619 in 8d00c1b
What I have there is a hack. The long term is switching it out with a return
, which will prevent auto-pairs from initialising altogether, but provide a non-standard alternative for manually enabling it (like a command). The idea there was to not initialise auto-pairs at all if it's a blacklisted directory or filetype.
I'm doubting whether an explicit reenable is needed though. I think, for now anyway, just switching it to a return
is good enough. If that breaks someone's workflow, I can deal with that later. It's not too hard to implement anyway, but a secondary init command does potentially bring with it some edge-cases, particularly if it's incorrectly used.
A PR would be appreciated. I have a lot of stuff to do at the moment 🙃 The docs for both variables also need to be updated to reflect that auto-pairs actually can't be enabled if those are triggered
from auto-pairs.
Related Issues (20)
- Close brackets are added even when the next character is alphanumeric HOT 2
- 'Insert new indented line after Return' failed when used with vim-auto-popmenu HOT 2
- Can't delete in pairs HOT 5
- Testing for dupe tags HOT 1
- Breaking some non-English characters HOT 4
- g:AutoPairsMapCR conflicts against coc.nvim HOT 14
- Add a prefix variable to all the places that use `<C-p>` as a prefix
- Multibyte pair \( and \) causing errors. HOT 4
- Unexpected behavior with julia.vim HOT 5
- Regex issue with new tex multibyte pairs HOT 14
- Not getting auto completed parenthesis just before a quote HOT 7
- Changing variables has no effect on functionality of the plugin HOT 8
- Confused about MultiLineClose HOT 2
- Error is thrown while trying to use vertical split when I use auto-pairs in neovim v0.9.0 HOT 19
- bug: variable not found open HOT 2
- Not working under debian HOT 2
- modify `<C-p>` as configurable due to <C-p> in insert mode cause slow react in drop down selection HOT 2
- Add dedicated config variable to enable compatibility with vim-visual-multi HOT 1
- Delete both parentheses at once HOT 2
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 auto-pairs.