nvim: Fix bracketed configuration
mini.bracketed never received its configuration which is the reason I had some issues in the past. It was simply wrapped in one too many layers of tables. Now works as intended.
This commit is contained in:
parent
22e8f9761f
commit
8f9954bd8a
1 changed files with 14 additions and 16 deletions
|
|
@ -183,22 +183,20 @@ return {
|
||||||
require("mini.align").setup({})
|
require("mini.align").setup({})
|
||||||
|
|
||||||
require("mini.bracketed").setup({
|
require("mini.bracketed").setup({
|
||||||
{
|
buffer = { suffix = "b", options = {} },
|
||||||
buffer = { suffix = "b", options = {} },
|
comment = { suffix = "k", options = {} },
|
||||||
comment = { suffix = "k", options = {} },
|
conflict = { suffix = "" }, -- disable to use git-conflict instead
|
||||||
conflict = { suffix = "" }, -- disable to use git-conflict instead
|
diagnostic = { suffix = "d", options = {} },
|
||||||
diagnostic = { suffix = "d", options = {} },
|
file = { suffix = "", options = {} },
|
||||||
file = { suffix = "", options = {} },
|
indent = { suffix = "" }, -- disable since we use indentscope
|
||||||
indent = { suffix = "" }, -- disable since we use indentscope
|
jump = { suffix = "j", options = {} },
|
||||||
jump = { suffix = "j", options = {} },
|
location = { suffix = "l", options = {} },
|
||||||
location = { suffix = "l", options = {} },
|
oldfile = { suffix = "o", options = {} }, -- FIXME: overwritten by wrapping defaults currently
|
||||||
oldfile = { suffix = "o", options = {} }, -- FIXME: overwritten by wrapping defaults currently
|
quickfix = { suffix = "q", options = {} },
|
||||||
quickfix = { suffix = "q", options = {} },
|
treesitter = { suffix = "t", options = {} },
|
||||||
treesitter = { suffix = "t", options = {} },
|
undo = { suffix = "" }, -- disable since I don't need it
|
||||||
undo = { suffix = "" }, -- disable since I don't need it
|
window = { suffix = "w", options = {} },
|
||||||
window = { suffix = "w", options = {} },
|
yank = { suffix = "y", options = {} },
|
||||||
yank = { suffix = "y", options = {} },
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
require("mini.comment").setup({
|
require("mini.comment").setup({
|
||||||
hooks = {
|
hooks = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue