mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nvim: use blink-pairs
This commit is contained in:
parent
5c189f5c0f
commit
bddc75a08b
6 changed files with 112 additions and 49 deletions
39
home/dot_config/nvim/lua/plugins/mod/blink-pairs.lua
Normal file
39
home/dot_config/nvim/lua/plugins/mod/blink-pairs.lua
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
return {
|
||||
"saghen/blink.pairs",
|
||||
version = "*", -- use prebuilt version
|
||||
event = "BufEnter",
|
||||
|
||||
-- download binary
|
||||
dependencies = "saghen/blink.download",
|
||||
|
||||
--- @module 'blink.pairs'
|
||||
--- @type blink.pairs.Config
|
||||
opts = {
|
||||
mappings = {
|
||||
enabled = true,
|
||||
cmdline = true,
|
||||
disabled_filetypes = {},
|
||||
-- https://github.com/Saghen/blink.pairs/blob/main/lua/blink/pairs/config/mappings.lua#24
|
||||
-- Battery included!
|
||||
pairs = {},
|
||||
},
|
||||
highlights = {
|
||||
enabled = true,
|
||||
cmdline = true,
|
||||
groups = {
|
||||
"BlinkPairsOrange",
|
||||
"BlinkPairsPurple",
|
||||
"BlinkPairsBlue",
|
||||
},
|
||||
unmatched_group = "BlinkPairsUnmatched",
|
||||
|
||||
matchparen = {
|
||||
enabled = true,
|
||||
cmdline = false,
|
||||
include_surrounding = false,
|
||||
group = "BlinkPairsMatchParen",
|
||||
priority = 250,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue