From f99877d100fb3dee292a5160037ecbf01f3c35e8 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 19 Jan 2025 11:38:20 -0800 Subject: [PATCH] update plugin --- lua/config/plugins.lua | 10 ++++++---- pack/plugins/start/argonaut.nvim | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lua/config/plugins.lua b/lua/config/plugins.lua index 7186958..1e10710 100644 --- a/lua/config/plugins.lua +++ b/lua/config/plugins.lua @@ -2,10 +2,12 @@ vim.keymap.set('n', 'a', function() vim.cmd.ArgonautReload() require('argonaut').setup({ - c = {brace_last_wrap = false}, - cpp = {brace_last_wrap = false}, - default = {auto_reload = true}, - lua = {comma_last = true}, + auto_reload = true, + by_filetype = { + c = {brace_last_wrap = false}, + cpp = {brace_last_wrap = false}, + lua = {comma_last = true}, + }, }) vim.cmd.ArgonautReflow() end) diff --git a/pack/plugins/start/argonaut.nvim b/pack/plugins/start/argonaut.nvim index 3d3f9bf..6b63f79 160000 --- a/pack/plugins/start/argonaut.nvim +++ b/pack/plugins/start/argonaut.nvim @@ -1 +1 @@ -Subproject commit 3d3f9bfcdfd2bd75dd194c5b95159539c4595387 +Subproject commit 6b63f79b2d65c7575c751d18450c8379f55124a1