update argonaut
This commit is contained in:
parent
f99877d100
commit
7a4583b8e2
@ -1,16 +1,31 @@
|
||||
-- argonaut.nvim
|
||||
vim.keymap.set('n', '<leader>a', function()
|
||||
local function argonaut_boilerplate()
|
||||
vim.cmd.ArgonautReload()
|
||||
require('argonaut').setup({
|
||||
auto_reload = true,
|
||||
by_filetype = {
|
||||
c = {brace_last_wrap = false},
|
||||
cpp = {brace_last_wrap = false},
|
||||
lua = {comma_last = true},
|
||||
},
|
||||
})
|
||||
vim.cmd.ArgonautReflow()
|
||||
end)
|
||||
end
|
||||
|
||||
vim.keymap.set(
|
||||
'n',
|
||||
'<leader>a',
|
||||
function()
|
||||
argonaut_boilerplate()
|
||||
vim.cmd.ArgonautToggle()
|
||||
end
|
||||
)
|
||||
|
||||
vim.keymap.set(
|
||||
'n',
|
||||
'<leader>o',
|
||||
function()
|
||||
argonaut_boilerplate()
|
||||
vim.cmd.ArgonautReflow()
|
||||
end
|
||||
)
|
||||
|
||||
-- bmessages.nvim
|
||||
require('bmessages').setup({})
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 6b63f79b2d65c7575c751d18450c8379f55124a1
|
||||
Subproject commit 06113ccb2f108fcabee095c06c9350eef81f31e2
|
Loading…
x
Reference in New Issue
Block a user