Skip to content

Releases: LunarWatcher/auto-pairs

v4.1.0

12 Sep 03:30
Compare
Choose a tag to compare

g:AutoPairsVersion = 40003

Added

  • Support for arbitrary underlying deletion keybinds when deleting pairs (#90)
    • This does not affect the default deletion keybinds, which still default to <BS>. This is only relevant if you want to delete pairs with other forms of deletion.

Fixed

  • Made g:AutoPairsExperimentalAutocmd actually reflect the new default-enabled state

Docs

  • Added compat note on nvim directly to AutoPairsCompatibility
  • Minor tweaks to the migration docs

v4.0.2

10 Feb 16:25
Compare
Choose a tag to compare

g:AutoPairsVersion = 40002

Fixed

  • Made sure the AutoPairsJump keybind in insert mode ends up after the cursor (upstream/#367 (comment))

Changed

  • Setting mapclose = 0 now makes alwaysmapdefaultclose default to 0 instead of 1
  • The LaTeX pairs no longer jump by default

Added

  • g:AutoPairsSpaceCompletionRegex (#75 followups)
  • g:AutoPairsDefaultDisableKeybinds (upstream/#367 (comment)) for default-blanking the various keybind variables

Docs

  • Described the exact reason for #66 in :h autopairs-autocomplete-cr
  • Documented variable initialisation and function call order issues (#84)

v4.0.1

24 Jan 17:20
Compare
Choose a tag to compare

4.0.1

g:AutopairsVersion = 40001

Fixed

  • Missing escape (#74)

v4.0.0

23 Jan 00:14
Compare
Choose a tag to compare

4.0.0

let g:AutoPairsVersion = 40000

Changed

  • g:AutoPairsCompatibleMaps is now 0 by default.
  • Added enforcement of scriptversion 4 to all files

Documentation

  • Added docs for <CR> incompatibilities
  • Documentation with some basic how-to guides for auto-pairs features. These can technically be figured out by just reading the documentation, but it's easier to compress it into concrete guides.
  • Documentation for Krasjet's space-only completion exceptions, and first-class support for it.
  • Documentation and first-class support for Krasjet's balance blacklist

Fixed

  • Minimum Vim version is now correctly listed as 8.1 patch 1114; I severely misread the minimum required version before.
  • Missing ... specifier prevented argument forwarding for IgnoreInsertEnter
  • Missing period for string concatenation seems to have broken the move feature
  • Switched to a variable for universal event ignoring, without overwriting the variable unrecoverably (exists('##InsertLeavePre') <3)
  • [parallel-fixed in an unversioned 3.0.x-version] Fixed bad regex management for multibyte pairs (#71)

Added

  • Tests for both the character whitelist for only completing on space, and the balance check blacklist.
  • Added g:AutoPairsAutoBreakBefore and g:AutoPairsSyncAutoBreakOptions (#57)
  • InsertLeavePre is now ignored
  • Regex pairs are now disabled and made opt-in only (#53)
  • g:AutoPairsPrefix, used for switching the default prefix in incompatible map mode.
  • The LaTeX pairs \[\] and \(\) are supported out of the box for the tex filetype
  • Breaking: regex is now disabled by default, and requires a manual parameter. See :h autopairs-pair-object.
  • The auto-pairs compatible maps prefix can now be adjusted with g:AutoPairsPrefix (#48, #70)

Meta

  • Removed pre-commit
  • Added a test to catch duplicate helptags

v3.0.4

03 Oct 11:18
Compare
Choose a tag to compare

3.0.4

let g:AutoPairsVersion = 30063

Changed

  • Renamed autopairs#Variables#_InitVariables to autopairs#Variables#InitVariables, as the API is now more intended for public use
  • g:AutoPairsFiletypeBlacklist now contains "registers" by default, and fully prevents loading in the buffer

Documentation

  • Documented autopairs#Variables#InitVariables()

v3.0.3

18 Jun 14:02
Compare
Choose a tag to compare

Note: development on 4.0.0 has now started. This will not affect tags or the master branch for the near foreseeable future. 3.x.y may add deprecation warnings if anything gets fully phased out, which is expected.

If you're feeling adventurous, you can also jump on 4.0.0 right now by switching to the 4.0.0 branch; see the README for details.

3.0.3

let g:AutoPairsVersion = 30062

Changed

  • Enabled experimental autocmd by default; preparing for the eventual deprecation of it

v3.0.2

03 Jun 23:11
Compare
Choose a tag to compare

3.0.2

let g:AutoPairsVersion = 30061

Meta

  • Cleaned up the help documents to, hopefully, be easier to navigate.

Removed

  • g:AutoPairsBackwardsCompat, as it doesn't appear to have any uses at this time.

Added

  • g:AutoPairsBSIn
  • g:AutoPairsBSAfter
  • Troubleshooting docs for Rust

Fixed

  • Duplicate tags in help docs (#59)

v3.0.1

06 Jan 13:45
Compare
Choose a tag to compare

3.0.1

let g:AutoPairsVersion = 30060

Fixed

  • Annoying escape problem (#52)
  • Open == close-pairs struggled to verify balance. (#40 (discussion) and its associated issue (#41))
  • Bug preventing open: 'not empty', close: '' from clearing output inserted by other pairs
  • Typo in offset potentially breaking balancing (not sure if this was a problem before 3.0.1 or if the changes made here made it painfully obvious, but it's fixed now nonetheless)
  • Add a lookahead to the regex group for single quotes in vim files. Just using \ze doesn't actually prevent it from matching the rest of the quote, causing weird quote insertion behavior with the changes made as a part of 3.0.1.

v3.0.0

10 Sep 10:38
Compare
Choose a tag to compare

There's no (functional) changes from 3.0.0-beta13; this tag is a bump of v3.0.0-beta13 from beta to stable.

v3.0.0-beta13

28 Aug 14:15
Compare
Choose a tag to compare

3.0.0-beta13

let g:AutoPairsVersion = 30058

Meta

  • Code cleanup
  • Vimscript standard update #1

Added

  • Skip single completion (jiangmiao#335)
  • More tests (including tests to cover single skip)