aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorpml68 <contact@pml68.me>2024-08-27 00:41:46 +0200
committerpml68 <contact@pml68.me>2024-08-27 00:41:46 +0200
commitbc2d1f0ad5bef8926e46e9de609d1257c3e575c7 (patch)
tree499f0217cdffb5131276b70adab16c537b833fa8 /lua
parentrefactor: remove unneeded code (diff)
downloadnvim-bc2d1f0ad5bef8926e46e9de609d1257c3e575c7.tar.gz
feat: guard.nvim config changes
Diffstat (limited to 'lua')
-rw-r--r--lua/pml68/plugins.lua4
1 files changed, 2 insertions, 2 deletions
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
},