From ca164c3cb79f56518794e4bb30496a034d19594d Mon Sep 17 00:00:00 2001 From: Paul-0x5061756c <82609900+Paul-0x5061756c@users.noreply.github.com> Date: Wed, 5 Jun 2024 10:03:47 +0200 Subject: [PATCH] updates --- init.lua | 11 +++++++++-- lua/kickstart/plugins/debug.lua | 16 ++++++++++++++-- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index f59f840c..67eb2dd7 100644 --- a/init.lua +++ b/init.lua @@ -654,6 +654,8 @@ require('lazy').setup({ -- }, } + require("neodev").setup({}) + -- Ensure the servers and tools above are installed -- To check the current status of installed tools and/or manually install -- other tools, you can run @@ -679,11 +681,17 @@ require('lazy').setup({ -- certain features of an LSP (for example, turning off formatting for tsserver) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) require('lspconfig')[server_name].setup(server) + end, }, } end, }, + -- neoconf.nvim + { + 'folke/neoconf.nvim', + lazy = false, + }, -- Copilot { 'github/copilot.vim', @@ -868,7 +876,6 @@ require('lazy').setup({ vim.cmd.hi 'Comment gui=none' end, }, - -- Highlight todo, notes, etc in comments { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, @@ -947,7 +954,7 @@ require('lazy').setup({ -- Here are some example plugins that I've included in the Kickstart repository. -- Uncomment any of the lines below to enable them (you will need to restart nvim). -- - -- require 'kickstart.plugins.debug', + require 'kickstart.plugins.debug', require 'kickstart.plugins.indent_line', require 'kickstart.plugins.lint', diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 31dfecf5..690722be 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -35,13 +35,25 @@ return { -- You can provide additional configuration to the handlers, -- see mason-nvim-dap README for more information - handlers = {}, + handlers = { + function (config) + require('mason-nvim-dap').default_setup(config) + end, + coreclr = function (config) + config.adapters = { + type = 'executable', + command = 'dotnet run', + args = { '--watch' }, + } + require('mason-nvim-dap').default_setup(config) + end, + }, -- You'll need to check that you have the required things installed -- online, please don't ask me how to install them :) ensure_installed = { -- Update this to ensure that you have the debuggers for the langs you want - 'delve', + 'coreclr', }, }