From 4c1ef1c01d4b85969ec3e76f485701c8a38a90b8 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 30 Jul 2025 18:00:00 +0100 Subject: [PATCH] Re-add ftplugin for `gitcommit` files --- modules2/nixvim/ftplugin/gitcommit.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules2/nixvim/ftplugin/gitcommit.nix diff --git a/modules2/nixvim/ftplugin/gitcommit.nix b/modules2/nixvim/ftplugin/gitcommit.nix new file mode 100644 index 00000000..9475a398 --- /dev/null +++ b/modules2/nixvim/ftplugin/gitcommit.nix @@ -0,0 +1,9 @@ +{ + flake.modules.nixvim.custom.extraFiles."after/ftplugin/gitcommit.lua".text = + # lua + '' + vim.opt_local.colorcolumn = "50,72" + vim.opt_local.spell = true + vim.opt_local.textwidth = 72 + ''; +}