altermo/ultimate-autopair.nvim
关于
支持 Tree-sitter 的自动配对插件,提供扩展等更多功能
开发工具实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文:exclamation: 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)
You can test out the (non-finished) next version here: v0.7
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
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
endin 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₁₀):
- 0a 0b 0c 0d 0e 0f 0g 0h
- 1a 1b 1c 1d 1e 1f 1g 1h
- 2a 2b 2c 2d 2e 2f 2g 2h
- 3a 3b 3c 3d 3e 3f 3g 3h
- 4a 4b 4c 4d 4e 4f 4g 4h
- 5a 5b 5c 5d 5e 5f 5g 5h
- 6a 6b 6c 6d 6e 6f 6g 6h
- 7a 7b 7c 7d 7e 7f 7g 7h
Chat
探索相关项目
加载中…