Skip to content

Commit e19cd10

Browse files
committed
Backup update
1 parent 86a4130 commit e19cd10

File tree

184 files changed

+47002
-2048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+47002
-2048
lines changed

last_update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-07-15T02:58:55Z
1+
2025-07-22T03:04:19Z

repositories/neovim/issues/12103.json

Lines changed: 55 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -243,14 +243,14 @@
243243
"performed_via_github_app": null,
244244
"reactions": {
245245
"+1": 3,
246-
"-1": 15,
246+
"-1": 16,
247247
"confused": 0,
248248
"eyes": 0,
249249
"heart": 2,
250250
"hooray": 0,
251251
"laugh": 0,
252252
"rocket": 0,
253-
"total_count": 20,
253+
"total_count": 21,
254254
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/1858039774/reactions"
255255
},
256256
"updated_at": "2023-12-15T15:13:52Z",
@@ -321,9 +321,54 @@
321321
"url": "https://api.github.com/users/SJFCS",
322322
"user_view_type": "public"
323323
}
324+
},
325+
{
326+
"author_association": "NONE",
327+
"body": "Combined ibhagwan solution into one user command function with the help of ChatGPT:\n``` lua \n-- sudo write\nvim.api.nvim_create_user_command(\"Suw\", function()\nlocal filepath = vim.fn.expand(\"%:p\")\n if filepath == \"\" then\n vim.notify(\"E32: No file name\", vim.log.levels.ERROR)\n return\n end\n -- Save buffer to a temporary file\n local tmpfile = vim.fn.tempname()\n vim.cmd(\"write! \" .. tmpfile)\n -- Prompt for password\n vim.fn.inputsave()\n local password = vim.fn.inputsecret(\"Password: \")\n vim.fn.inputrestore()\n if password == \"\" then\n vim.notify(\"Invalid password, sudo aborted\", vim.log.levels.WARN)\n return\n end\n -- Use sudo to move the file\n local cmd = string.format(\"sudo -p '' -S dd if=%s of=%s bs=1048576\",\n vim.fn.shellescape(tmpfile), vim.fn.shellescape(filepath)\n )\n local proc = vim.system({ \"sh\", \"-c\", string.format(\"echo %q | %s\", password, cmd) }):wait()\n -- Handle result\n if proc.code == 0 then\n vim.bo.modified = false\n vim.cmd.checktime()\n vim.api.nvim_feedkeys(\n vim.api.nvim_replace_termcodes(\"<ESC>\", true, false, true), \"n\", true\n )\n else\n vim.notify(proc.stderr, vim.log.levels.ERROR)\n end\n\n vim.fn.delete(tmpfile)\nend, { desc = \"Sudo write current buffer\" })\n```",
328+
"created_at": "2025-07-15T14:05:35Z",
329+
"html_url": "https://github.com/neovim/neovim/issues/12103#issuecomment-3073751144",
330+
"id": 3073751144,
331+
"issue_url": "https://api.github.com/repos/neovim/neovim/issues/12103",
332+
"node_id": "IC_kwDOAPphoM63Nbho",
333+
"performed_via_github_app": null,
334+
"reactions": {
335+
"+1": 0,
336+
"-1": 0,
337+
"confused": 0,
338+
"eyes": 0,
339+
"heart": 0,
340+
"hooray": 0,
341+
"laugh": 0,
342+
"rocket": 0,
343+
"total_count": 0,
344+
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/3073751144/reactions"
345+
},
346+
"updated_at": "2025-07-15T14:05:35Z",
347+
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/3073751144",
348+
"user": {
349+
"avatar_url": "https://avatars.githubusercontent.com/u/40931454?v=4",
350+
"events_url": "https://api.github.com/users/vulpes-vulpeos/events{/privacy}",
351+
"followers_url": "https://api.github.com/users/vulpes-vulpeos/followers",
352+
"following_url": "https://api.github.com/users/vulpes-vulpeos/following{/other_user}",
353+
"gists_url": "https://api.github.com/users/vulpes-vulpeos/gists{/gist_id}",
354+
"gravatar_id": "",
355+
"html_url": "https://github.com/vulpes-vulpeos",
356+
"id": 40931454,
357+
"login": "vulpes-vulpeos",
358+
"node_id": "MDQ6VXNlcjQwOTMxNDU0",
359+
"organizations_url": "https://api.github.com/users/vulpes-vulpeos/orgs",
360+
"received_events_url": "https://api.github.com/users/vulpes-vulpeos/received_events",
361+
"repos_url": "https://api.github.com/users/vulpes-vulpeos/repos",
362+
"site_admin": false,
363+
"starred_url": "https://api.github.com/users/vulpes-vulpeos/starred{/owner}{/repo}",
364+
"subscriptions_url": "https://api.github.com/users/vulpes-vulpeos/subscriptions",
365+
"type": "User",
366+
"url": "https://api.github.com/users/vulpes-vulpeos",
367+
"user_view_type": "public"
368+
}
324369
}
325370
],
326-
"comments": 7,
371+
"comments": 8,
327372
"comments_url": "https://api.github.com/repos/neovim/neovim/issues/12103/comments",
328373
"created_at": "2020-04-10T05:46:12Z",
329374
"events_url": "https://api.github.com/repos/neovim/neovim/issues/12103/events",
@@ -380,7 +425,7 @@
380425
"locked": false,
381426
"milestone": {
382427
"closed_at": null,
383-
"closed_issues": 726,
428+
"closed_issues": 728,
384429
"created_at": "2014-05-10T20:43:04Z",
385430
"creator": {
386431
"avatar_url": "https://avatars.githubusercontent.com/u/1359421?v=4",
@@ -410,25 +455,25 @@
410455
"labels_url": "https://api.github.com/repos/neovim/neovim/milestones/6/labels",
411456
"node_id": "MDk6TWlsZXN0b25lNjU1MDM3",
412457
"number": 6,
413-
"open_issues": 630,
458+
"open_issues": 633,
414459
"state": "open",
415460
"title": "backlog",
416-
"updated_at": "2025-07-07T03:51:31Z",
461+
"updated_at": "2025-07-20T16:53:32Z",
417462
"url": "https://api.github.com/repos/neovim/neovim/milestones/6"
418463
},
419464
"node_id": "MDU6SXNzdWU1OTc3MDg4OTc=",
420465
"number": 12103,
421466
"performed_via_github_app": null,
422467
"reactions": {
423-
"+1": 90,
468+
"+1": 92,
424469
"-1": 0,
425470
"confused": 0,
426471
"eyes": 0,
427-
"heart": 2,
472+
"heart": 3,
428473
"hooray": 0,
429474
"laugh": 0,
430475
"rocket": 0,
431-
"total_count": 92,
476+
"total_count": 95,
432477
"url": "https://api.github.com/repos/neovim/neovim/issues/12103/reactions"
433478
},
434479
"repository_url": "https://api.github.com/repos/neovim/neovim",
@@ -451,7 +496,7 @@
451496
"node_id": "IT_kwDOAGK_Pc4ACRyr",
452497
"updated_at": "2024-07-26T10:12:30Z"
453498
},
454-
"updated_at": "2025-07-02T08:37:01Z",
499+
"updated_at": "2025-07-15T14:05:35Z",
455500
"url": "https://api.github.com/repos/neovim/neovim/issues/12103",
456501
"user": {
457502
"avatar_url": "https://avatars.githubusercontent.com/u/297678?v=4",

repositories/neovim/issues/16339.json

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,54 @@
501501
"url": "https://api.github.com/users/bew",
502502
"user_view_type": "public"
503503
}
504+
},
505+
{
506+
"author_association": "NONE",
507+
"body": "> Small re-implementation of the suggested autocmd in `:h restore-cursor`:\n\nThanks @bew, this works great. There's a small bug in the commit/rebase line: there should be an `or` instead of `and`, making it recall the last position in commit messages where it's not wanted.",
508+
"created_at": "2025-07-17T11:00:39Z",
509+
"html_url": "https://github.com/neovim/neovim/issues/16339#issuecomment-3083610052",
510+
"id": 3083610052,
511+
"issue_url": "https://api.github.com/repos/neovim/neovim/issues/16339",
512+
"node_id": "IC_kwDOAPphoM63zCfE",
513+
"performed_via_github_app": null,
514+
"reactions": {
515+
"+1": 0,
516+
"-1": 0,
517+
"confused": 0,
518+
"eyes": 0,
519+
"heart": 0,
520+
"hooray": 0,
521+
"laugh": 0,
522+
"rocket": 0,
523+
"total_count": 0,
524+
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/3083610052/reactions"
525+
},
526+
"updated_at": "2025-07-17T11:00:39Z",
527+
"url": "https://api.github.com/repos/neovim/neovim/issues/comments/3083610052",
528+
"user": {
529+
"avatar_url": "https://avatars.githubusercontent.com/u/419104?v=4",
530+
"events_url": "https://api.github.com/users/minus7/events{/privacy}",
531+
"followers_url": "https://api.github.com/users/minus7/followers",
532+
"following_url": "https://api.github.com/users/minus7/following{/other_user}",
533+
"gists_url": "https://api.github.com/users/minus7/gists{/gist_id}",
534+
"gravatar_id": "",
535+
"html_url": "https://github.com/minus7",
536+
"id": 419104,
537+
"login": "minus7",
538+
"node_id": "MDQ6VXNlcjQxOTEwNA==",
539+
"organizations_url": "https://api.github.com/users/minus7/orgs",
540+
"received_events_url": "https://api.github.com/users/minus7/received_events",
541+
"repos_url": "https://api.github.com/users/minus7/repos",
542+
"site_admin": false,
543+
"starred_url": "https://api.github.com/users/minus7/starred{/owner}{/repo}",
544+
"subscriptions_url": "https://api.github.com/users/minus7/subscriptions",
545+
"type": "User",
546+
"url": "https://api.github.com/users/minus7",
547+
"user_view_type": "public"
548+
}
504549
}
505550
],
506-
"comments": 11,
551+
"comments": 12,
507552
"comments_url": "https://api.github.com/repos/neovim/neovim/issues/16339/comments",
508553
"created_at": "2021-11-16T18:56:57Z",
509554
"events_url": "https://api.github.com/repos/neovim/neovim/issues/16339/events",
@@ -545,15 +590,15 @@
545590
"number": 16339,
546591
"performed_via_github_app": null,
547592
"reactions": {
548-
"+1": 49,
593+
"+1": 50,
549594
"-1": 4,
550595
"confused": 0,
551596
"eyes": 0,
552597
"heart": 0,
553598
"hooray": 0,
554599
"laugh": 0,
555600
"rocket": 0,
556-
"total_count": 53,
601+
"total_count": 54,
557602
"url": "https://api.github.com/repos/neovim/neovim/issues/16339/reactions"
558603
},
559604
"repository_url": "https://api.github.com/repos/neovim/neovim",
@@ -576,7 +621,7 @@
576621
"node_id": "IT_kwDOAGK_Pc4ACRyv",
577622
"updated_at": "2024-07-26T10:12:30Z"
578623
},
579-
"updated_at": "2025-07-02T08:58:28Z",
624+
"updated_at": "2025-07-17T11:00:39Z",
580625
"url": "https://api.github.com/repos/neovim/neovim/issues/16339",
581626
"user": {
582627
"avatar_url": "https://avatars.githubusercontent.com/u/2361214?v=4",

0 commit comments

Comments
 (0)