mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 05:02:28 +00:00
Enable copilot for yaml (nvim)
This commit is contained in:
@@ -500,6 +500,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
|
|
||||||
|
-- Enable copilot for yaml
|
||||||
|
-- https://github.com/orgs/community/discussions/108329
|
||||||
|
vim.cmd([[let g:copilot_filetypes = {'yaml': 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