updates
This commit is contained in:
parent
69b568472c
commit
f5847f269f
11
init.lua
11
init.lua
|
@ -636,6 +636,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
|
||||
|
@ -661,11 +663,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',
|
||||
|
@ -850,7 +858,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 } },
|
||||
|
||||
|
@ -929,7 +936,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',
|
||||
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue