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

@@ -0,0 +1 @@
return {}

View File

@@ -0,0 +1 @@
return {}

View File

@@ -3,6 +3,30 @@ return {
yaml = {
schemaStore = {
enable = true
},
format = {
enable = true,
singleQuote = true
},
customTags = {
"!fn",
"!And",
"!If",
"!Not",
"!Equals",
"!Or",
"!FindInMap sequence",
"!Base64",
"!Cidr",
"!Ref",
"!Ref Scalar",
"!Sub",
"!GetAtt",
"!GetAZs",
"!ImportValue",
"!Select",
"!Split",
"!Join sequence"
}
}
}

View File

@@ -22,7 +22,8 @@ require('lazy').setup({
require('plugins.dap-python'), -- Debug plugin settings specifically for python
require('plugins.treesitter'), -- Treesitter syntax highlighting and tree support
require('plugins.gitsigns'), -- Gutter symbols for Git status and quick actions for Git operations
require('plugins.luasnip'), -- Snippet enging
require('plugins.luasnip'), -- Snippet engine
-- require('plugins.nvim-lint'), -- Linter loader
require('plugins.nvim-cmp'), -- Autocompletion engine
require('plugins.lualine'), -- Status line
require('plugins.telekasten'), -- Note taking setup

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,
}

View File

@@ -1,10 +1,10 @@
local ls = require('plugins.luasnip')
local ls = require('luasnip')
local s = ls.snippet
local i = ls.insert_node
local t = ls.text_node
local l = require('plugins.luasnip.extras').lambda
local fmt = require('plugins.luasnip.extras.fmt').fmt
local ts_post = require('plugins.luasnip.extras.treesitter_postfix').treesitter_postfix
local l = require('luasnip.extras').lambda
local fmt = require('luasnip.extras.fmt').fmt
local ts_post = require('luasnip.extras.treesitter_postfix').treesitter_postfix
return {
ts_post({
@@ -21,15 +21,14 @@ return {
}, fmt([[
''' {}
Parameters:
{} () -
Keyword arguments:
{} () -
Returns:
{} -
{}
{} - {}
'''
]], {
i(1),
i(1, 'Description'),
l(l.LS_TSCAPTURE_PARAMS),
l(l.LS_TSCAPTURE_RETURN),
l(l.LS_TSDATA),

View File

@@ -3,6 +3,8 @@
# zmodload zsh/zprof
path=(
/opt/homebrew/bin
/opt/homebrew/sbin
$GOPATH/bin
$HOME/.cargo/bin
$HOME/.local/bin