From 8bb513a86e8bea07fdb8cea71d254d46ffc7806b Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Sat, 4 Apr 2026 03:16:27 +0200 Subject: feat!: migrate to vim.pack --- lua/pml68/plugins/guard.lua | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lua/pml68/plugins/guard.lua (limited to 'lua/pml68/plugins/guard.lua') diff --git a/lua/pml68/plugins/guard.lua b/lua/pml68/plugins/guard.lua deleted file mode 100644 index 7f609de..0000000 --- a/lua/pml68/plugins/guard.lua +++ /dev/null @@ -1,25 +0,0 @@ -return { - "nvimdev/guard.nvim", - dependencies = { - "nvimdev/guard-collection" - }, - ft = { "c", "cpp", "h", "toml", "json", "go", "lua" }, - config = function() - local ft = require("guard.filetype") - - ft("c,cpp,h"):fmt("clang-format") - ft("toml"):fmt("taplo") - ft("json"):fmt("jq") - - ft("go"):fmt({ - cmd = "golines", - args = { "--max-len=80", "--base-formatter=gofumpt" }, - stdin = true, - }) - - vim.g.guard_config = { - fmt_on_save = true, - lsp_as_default_formatter = true, - } - end -} -- cgit v1.2.3