refactor: Cleanup and stuff

This commit is contained in:
2026-04-05 21:35:11 -05:00
parent 04209e4b53
commit 821d7328c6
10 changed files with 53 additions and 39 deletions

View File

@@ -1,12 +1,8 @@
return {
'mfussenegger/nvim-dap',
dependencies = {
{
'jay-babu/mason-nvim-dap.nvim'
},
{
'nvim-neotest/nvim-nio',
},
{ 'jay-babu/mason-nvim-dap.nvim' },
{ 'nvim-neotest/nvim-nio' },
{
'rcarriga/nvim-dap-ui',
config = function()
@@ -140,8 +136,6 @@ return {
}
}
}
-- require('dap.ext.vscode').load_launchjs('.launch.json', {})
end,
keys = {
{

View File

@@ -21,7 +21,6 @@ return {
local bufopts = { noremap = true, silent = true, buffer = bufnr }
vim.keymap.set('n', '<C-[>', vim.diagnostic.goto_prev, bufopts)
vim.keymap.set('n', '<C-]>', vim.diagnostic.goto_next, bufopts)
-- vim.keymap.set('n', 'gl', vim.diagnostic.open_float, bufopts)
vim.keymap.set('n', 'ga', vim.lsp.buf.code_action, bufopts)
vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, bufopts)
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts)

View File

@@ -65,26 +65,11 @@ return {
})
end,
dependencies = {
{
'hrsh7th/cmp-nvim-lsp',
lazy = false,
},
{
'hrsh7th/cmp-buffer',
lazy = false,
},
{
'hrsh7th/cmp-path',
lazy = false,
},
{
'hrsh7th/cmp-cmdline',
lazy = false,
},
{
'L3MON4D3/LuaSnip',
lazy = false,
},
{ 'hrsh7th/cmp-nvim-lsp', lazy = false },
{ 'hrsh7th/cmp-buffer', lazy = false },
{ 'hrsh7th/cmp-path', lazy = false },
{ 'hrsh7th/cmp-cmdline', lazy = false },
{ 'L3MON4D3/LuaSnip', lazy = false },
},
event = 'InsertEnter',
lazy = false,

View File

@@ -0,0 +1,8 @@
return {
'mfussenegger/nvim-lint',
config = function()
require('lint').linters_by_ft = {
yaml = {'cfn-lint'}
}
end,
}