From bc2d1f0ad5bef8926e46e9de609d1257c3e575c7 Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 27 Aug 2024 00:41:46 +0200 Subject: feat: guard.nvim config changes --- lua/pml68/plugins.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index a1e999d..adac1ce 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -224,7 +224,7 @@ local plugins = { dependencies = { "nvimdev/guard-collection" }, - ft = { "c", "cpp", "json" }, + ft = { "c", "cpp", "json", "lua", "python" }, config = function() local ft = require("guard.filetype") @@ -236,7 +236,7 @@ local plugins = { require("guard").setup({ fmt_on_save = true, - lsp_as_default_formatter = false + lsp_as_default_formatter = true }) end }, -- cgit v1.2.3