Switch to argonaut for variable objects
This commit is contained in:
parent
7a4583b8e2
commit
0928a9506d
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -28,9 +28,6 @@
|
||||
[submodule ".vim/bundle/vim-dirvish"]
|
||||
path = pack/plugins/start/vim-dirvish
|
||||
url = https://github.com/justinmk/vim-dirvish.git
|
||||
[submodule ".vim/bundle/vim-angry"]
|
||||
path = pack/plugins/start/vim-angry
|
||||
url = https://github.com/b4winckler/vim-angry.git
|
||||
[submodule ".vim/pack/plugins/start/vim-fugitive"]
|
||||
path = pack/plugins/start/vim-fugitive
|
||||
url = https://github.com/tpope/vim-fugitive.git
|
||||
|
@ -1,6 +1,8 @@
|
||||
-- argonaut.nvim
|
||||
local function argonaut_boilerplate()
|
||||
vim.cmd.ArgonautReload()
|
||||
local function argonaut_boilerplate(reload)
|
||||
if reload then
|
||||
vim.cmd.ArgonautReload()
|
||||
end
|
||||
require('argonaut').setup({
|
||||
by_filetype = {
|
||||
c = {brace_last_wrap = false},
|
||||
@ -13,7 +15,7 @@ vim.keymap.set(
|
||||
'n',
|
||||
'<leader>a',
|
||||
function()
|
||||
argonaut_boilerplate()
|
||||
argonaut_boilerplate(true) -- for development
|
||||
vim.cmd.ArgonautToggle()
|
||||
end
|
||||
)
|
||||
@ -22,11 +24,13 @@ vim.keymap.set(
|
||||
'n',
|
||||
'<leader>o',
|
||||
function()
|
||||
argonaut_boilerplate()
|
||||
argonaut_boilerplate(true) -- for development
|
||||
vim.cmd.ArgonautReflow()
|
||||
end
|
||||
)
|
||||
|
||||
argonaut_boilerplate(false)
|
||||
|
||||
-- bmessages.nvim
|
||||
require('bmessages').setup({})
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 06113ccb2f108fcabee095c06c9350eef81f31e2
|
||||
Subproject commit ac6b04884965460d5db2f1b1d00483a0adde9fd0
|
@ -1 +0,0 @@
|
||||
Subproject commit 08e9e9a50e6683ac7b0c1d6fddfb5f1235c75700
|
Loading…
x
Reference in New Issue
Block a user