From b7b73fbcb7ed03d8180639176d30a5400075a40c Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Mon, 8 Apr 2024 13:16:08 -0400 Subject: [PATCH] Enable copilot for gitcommit --- home/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/default.nix b/home/default.nix index b7e62df..0b88a98 100644 --- a/home/default.nix +++ b/home/default.nix @@ -514,10 +514,11 @@ in extraConfigLua = '' - -- Enable copilot for yaml -- https://github.com/orgs/community/discussions/108329 vim.cmd([[let g:copilot_filetypes = {'yaml': v:true}]]) + vim.cmd([[let g:copilot_filetypes = {'gitcommit': v:true}]]) + -- Format JSON vim.cmd([[command! JsonFormat execute "::%!jq '.'"]])