1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-13 04:51:15 +02:00

nvim: changed bracket program

This commit is contained in:
tiyn
2025-03-24 04:34:23 +01:00
parent 001187545c
commit 3cfd34313e
4 changed files with 37 additions and 9 deletions

View File

@@ -0,0 +1,34 @@
return {
"saghen/blink.pairs",
version = "*", -- (recommended) only required with prebuilt binaries
-- download prebuilt binaries from github releases
dependencies = "saghen/blink.download",
--- @module 'blink.pairs'
--- @type blink.pairs.Config
opts = {
mappings = {
enabled = true,
pairs = {
["("] = ")",
["["] = "]",
["{"] = "}",
["'"] = { closing = "'", enter = false },
['"'] = { closing = '"', enter = false },
["`"] = { closing = "`", enter = false },
},
},
highlights = {
enabled = true,
groups = {
"BlinkPairsOrange",
"BlinkPairsPurple",
"BlinkPairsBlue",
},
priority = 200,
ns = vim.api.nvim_create_namespace("blink.pairs"),
},
debug = false,
},
}

View File

@@ -1,7 +0,0 @@
return {
-- automatic closing of brackets
{
'windwp/nvim-autopairs',
opts = {}
}
}

View File

@@ -24,7 +24,7 @@ return {
highlight = { enable = true },
autotag = { enable = false },
rainbow = {
enable = false,
enable = true,
extended_mode = true,
max_file_lines = nil,
-- colors = {},