Enable copilot for gitcommit

This commit is contained in:
Dave Gallant
2024-04-08 13:16:08 -04:00
parent 481caebcf8
commit b7b73fbcb7

View File

@@ -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 '.'"]])