diff --git a/.gitmodules b/.gitmodules index b87e4e5..3d2ca5f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/lua/config/plugins.lua b/lua/config/plugins.lua index 301e5da..f0fb9c9 100644 --- a/lua/config/plugins.lua +++ b/lua/config/plugins.lua @@ -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', 'a', function() - argonaut_boilerplate() + argonaut_boilerplate(true) -- for development vim.cmd.ArgonautToggle() end ) @@ -22,11 +24,13 @@ vim.keymap.set( 'n', 'o', function() - argonaut_boilerplate() + argonaut_boilerplate(true) -- for development vim.cmd.ArgonautReflow() end ) +argonaut_boilerplate(false) + -- bmessages.nvim require('bmessages').setup({}) diff --git a/pack/plugins/start/argonaut.nvim b/pack/plugins/start/argonaut.nvim index 06113cc..ac6b048 160000 --- a/pack/plugins/start/argonaut.nvim +++ b/pack/plugins/start/argonaut.nvim @@ -1 +1 @@ -Subproject commit 06113ccb2f108fcabee095c06c9350eef81f31e2 +Subproject commit ac6b04884965460d5db2f1b1d00483a0adde9fd0 diff --git a/pack/plugins/start/vim-angry b/pack/plugins/start/vim-angry deleted file mode 160000 index 08e9e9a..0000000 --- a/pack/plugins/start/vim-angry +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 08e9e9a50e6683ac7b0c1d6fddfb5f1235c75700