Enable copilot for yaml (nvim)

This commit is contained in:
Dave Gallant
2024-03-25 14:33:18 -04:00
parent ac208a1b6e
commit 5454bda8c2

View File

@@ -500,6 +500,11 @@ in
};
extraConfigLua = ''
-- Enable copilot for yaml
-- https://github.com/orgs/community/discussions/108329
vim.cmd([[let g:copilot_filetypes = {'yaml': v:true}]])
-- Format JSON
vim.cmd([[command! JsonFormat execute "::%!jq '.'"]])