Switch to argonaut for variable objects

This commit is contained in:
Alex Yatskov 2025-01-19 17:27:42 -08:00
parent 7a4583b8e2
commit 0928a9506d
4 changed files with 9 additions and 9 deletions

3
.gitmodules vendored
View File

@ -28,9 +28,6 @@
[submodule ".vim/bundle/vim-dirvish"] [submodule ".vim/bundle/vim-dirvish"]
path = pack/plugins/start/vim-dirvish path = pack/plugins/start/vim-dirvish
url = https://github.com/justinmk/vim-dirvish.git 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"] [submodule ".vim/pack/plugins/start/vim-fugitive"]
path = pack/plugins/start/vim-fugitive path = pack/plugins/start/vim-fugitive
url = https://github.com/tpope/vim-fugitive.git url = https://github.com/tpope/vim-fugitive.git

View File

@ -1,6 +1,8 @@
-- argonaut.nvim -- argonaut.nvim
local function argonaut_boilerplate() local function argonaut_boilerplate(reload)
vim.cmd.ArgonautReload() if reload then
vim.cmd.ArgonautReload()
end
require('argonaut').setup({ require('argonaut').setup({
by_filetype = { by_filetype = {
c = {brace_last_wrap = false}, c = {brace_last_wrap = false},
@ -13,7 +15,7 @@ vim.keymap.set(
'n', 'n',
'<leader>a', '<leader>a',
function() function()
argonaut_boilerplate() argonaut_boilerplate(true) -- for development
vim.cmd.ArgonautToggle() vim.cmd.ArgonautToggle()
end end
) )
@ -22,11 +24,13 @@ vim.keymap.set(
'n', 'n',
'<leader>o', '<leader>o',
function() function()
argonaut_boilerplate() argonaut_boilerplate(true) -- for development
vim.cmd.ArgonautReflow() vim.cmd.ArgonautReflow()
end end
) )
argonaut_boilerplate(false)
-- bmessages.nvim -- bmessages.nvim
require('bmessages').setup({}) require('bmessages').setup({})

@ -1 +1 @@
Subproject commit 06113ccb2f108fcabee095c06c9350eef81f31e2 Subproject commit ac6b04884965460d5db2f1b1d00483a0adde9fd0

@ -1 +0,0 @@
Subproject commit 08e9e9a50e6683ac7b0c1d6fddfb5f1235c75700