From f86f18f27afeef1952272e212bef886e58ffd04c Mon Sep 17 00:00:00 2001
From: Richard Macklin <1863540+rmacklin@users.noreply.github.com>
Date: Sun, 5 May 2024 18:01:39 -0700
Subject: [PATCH 1/3] Add diff to treesitter's ensure_installed languages
 (#908)

---
 init.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.lua b/init.lua
index 457ad214..88658ef3 100644
--- a/init.lua
+++ b/init.lua
@@ -835,7 +835,7 @@ require('lazy').setup({
     'nvim-treesitter/nvim-treesitter',
     build = ':TSUpdate',
     opts = {
-      ensure_installed = { 'bash', 'c', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' },
+      ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'vim', 'vimdoc' },
       -- Autoinstall languages that are not installed
       auto_install = true,
       highlight = {

From b9bd02d55b77293291a38fac9abe46acad9ab91d Mon Sep 17 00:00:00 2001
From: Smig <89040888+smiggiddy@users.noreply.github.com>
Date: Wed, 8 May 2024 10:55:49 -0400
Subject: [PATCH 2/3] fix: debug.lua (#918)

---
 lua/kickstart/plugins/debug.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua
index 7be4abdb..d4d14659 100644
--- a/lua/kickstart/plugins/debug.lua
+++ b/lua/kickstart/plugins/debug.lua
@@ -31,7 +31,7 @@ return {
     require('mason-nvim-dap').setup {
       -- Makes a best effort to setup the various debuggers with
       -- reasonable debug configurations
-      automatic_setup = true,
+      automatic_installation = true,
 
       -- You can provide additional configuration to the handlers,
       -- see mason-nvim-dap README for more information

From 5aeddfdd5d0308506ec63b0e4f8de33e2a39355f Mon Sep 17 00:00:00 2001
From: Per Malmberg <PerMalmberg@users.noreply.github.com>
Date: Fri, 10 May 2024 19:43:22 +0200
Subject: [PATCH 3/3] Automatically set detached state as needed. (#925)

* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.
---
 lua/kickstart/plugins/debug.lua | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua
index d4d14659..31dfecf5 100644
--- a/lua/kickstart/plugins/debug.lua
+++ b/lua/kickstart/plugins/debug.lua
@@ -85,6 +85,12 @@ return {
     dap.listeners.before.event_exited['dapui_config'] = dapui.close
 
     -- Install golang specific config
-    require('dap-go').setup()
+    require('dap-go').setup {
+      delve = {
+        -- On Windows delve must be run attached or it crashes.
+        -- See https://github.com/leoluz/nvim-dap-go/blob/main/README.md#configuring
+        detached = vim.fn.has 'win32' == 0,
+      },
+    }
   end,
 }