Skip to content

altermo/ultimate-autopair.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❗ Ultimate-autopair is currently in the beta stage of development. version system.

Ultimate-autopair.nvim 0.6.1

Ultimate-autopair plugin aims to always work as you expect, while making it relatively easy to configure. It has many features which other auto-pairing plugins lack: like multiline support, string/escape filtering and more. It is fully tested and has good docs.

For development version, check out development
Requires neovim 0.9 (for older versions of neovim, check previous versions of plugin)
For many features, including string filtering, requires treesitter.

For new users, check out starter documentation (:help ultimate-autopair)

Installation

Packer
use{
    'altermo/ultimate-autopair.nvim',
    event={'InsertEnter','CmdlineEnter'},
    branch='v0.6', --recomended as each new version will have breaking changes
    config=function ()
        require('ultimate-autopair').setup({
                --Config goes here
                })
    end,
}
Lazy
{
    'altermo/ultimate-autopair.nvim',
    event={'InsertEnter','CmdlineEnter'},
    branch='v0.6', --recomended as each new version will have breaking changes
    opts={
        --Config goes here
    },
}

Default configuration

For the default configuration, refer to the documentation (:help ultimate-autopair-default-config).

Demo

demo

demo

Other plugins to supercharge auto-pairing

These are some other plugins which are related to pairing which have features that ultimate-autopair does not have.

  • endwise wisely add end in lua, ruby, etc... (can integration with ultimate-autopair)
  • tabout tab out of tsnode objects
  • surround delete, change surrounding parentheses and much more...
  • autotag auto add html tags
  • nvim-autopairs integration: read :h ultimate-autopair-use-with-npairs

Donate

If you want to donate then you need to find the correct link (hint: 50₁₀):

Chat

Releases

No releases published

Packages

No packages published

Languages