Giter VIP home page Giter VIP logo

ultimate-autopair.nvim's Introduction

❗ Ultimate-autopair is currently in maintenance mode, no new features will be added in the near future

Ultimate-autopair.nvim 0.6.1

Ultimate-autopair plugin aims to always work as you expect and be ultra customizable, while making it easy to configure. It has features which other auto-pairing plugins lack: multiline support, treesitter-node filtering and treesitter-filetype detection.

For development version, which is sometimes up to date with default branch, check out development
Requires neovim 0.9 (for older versions of neovim, check previous versions of plugin)
For some features, including string filtering, requires treesitter.

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

Installation

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

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... (Note: doesn't get broken by ultimate-autopair's newline)
  • tabout tab out of treesitter nodes
  • surround delete, change surrounding parentheses and much more...
  • autotag auto pair html tags

If you want to use this together with nvim-autopairs read :h ultimate-autopair-use-with-npairs

Donate

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

Chat

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.