Compare commits

...

2 Commits

Author SHA1 Message Date
Dave Gallant
49d300615d nix flake update: 2024-03-25 18:34:37 UTC
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/7559df1e4af972d5f1de87975b5ef6a8d7559db2' (2024-03-24)
  → 'github:NixOS/nixos-hardware/9a763a7acc4cfbb8603bb0231fec3eda864f81c0' (2024-03-25)
2024-03-25 14:34:37 -04:00
Dave Gallant
5454bda8c2 Enable copilot for yaml (nvim) 2024-03-25 14:33:18 -04:00
2 changed files with 8 additions and 3 deletions

6
flake.lock generated
View File

@@ -140,11 +140,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1711274671,
"narHash": "sha256-19KQXya5VERUXOdeEJJN+zOqtvuE6MV3qTk9Gr4J9Uo=",
"lastModified": 1711352745,
"narHash": "sha256-luvqik+i3HTvCbXQZgB6uggvEcxI9uae0nmrgtXJ17U=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "7559df1e4af972d5f1de87975b5ef6a8d7559db2",
"rev": "9a763a7acc4cfbb8603bb0231fec3eda864f81c0",
"type": "github"
},
"original": {

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