mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
Enable copilot for gitcommit
This commit is contained in:
@@ -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 '.'"]])
|
||||
|
||||
|
Reference in New Issue
Block a user