mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 13:22:28 +00:00
Enable copilot for gitcommit
This commit is contained in:
@@ -514,10 +514,11 @@ in
|
|||||||
|
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
|
|
||||||
-- Enable copilot for yaml
|
|
||||||
-- https://github.com/orgs/community/discussions/108329
|
-- https://github.com/orgs/community/discussions/108329
|
||||||
vim.cmd([[let g:copilot_filetypes = {'yaml': v:true}]])
|
vim.cmd([[let g:copilot_filetypes = {'yaml': v:true}]])
|
||||||
|
|
||||||
|
vim.cmd([[let g:copilot_filetypes = {'gitcommit': v:true}]])
|
||||||
|
|
||||||
-- Format JSON
|
-- Format JSON
|
||||||
vim.cmd([[command! JsonFormat execute "::%!jq '.'"]])
|
vim.cmd([[command! JsonFormat execute "::%!jq '.'"]])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user