ci: format

This commit is contained in:
Barrett Ruth 2026-03-05 13:32:28 -05:00
parent e30ca4eb16
commit 9db185f4d4
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
13 changed files with 2252 additions and 52 deletions

View file

@ -20,6 +20,10 @@ return {
},
{
'echasnovski/mini.ai',
keys = {
{ 'a', mode = { 'x', 'o' } },
{ 'i', mode = { 'x', 'o' } },
},
after = function()
require('mini.ai').setup({
custom_textobjects = {
@ -49,27 +53,6 @@ return {
to = { line = end_line, col = to_col },
}
end,
l = function(ai_type)
local line_num = vim.fn.line('.')
local line = vim.fn.getline(line_num)
if line == '' then
return {
from = { line = line_num, col = 1 },
to = { line = line_num, col = 1 },
}
end
local start_col, end_col
if ai_type == 'i' then
start_col = line:find('%S') or 1
end_col = line:match('.*%S()') or 1
else
start_col, end_col = 1, line:len()
end
return {
from = { line = line_num, col = start_col },
to = { line = line_num, col = end_col },
}
end,
I = function(ai_type)
local cur_line = vim.fn.line('.')
local cur_indent = vim.fn.indent(cur_line)
@ -126,10 +109,6 @@ return {
},
})
end,
keys = {
{ 'a', mode = { 'x', 'o' } },
{ 'i', mode = { 'x', 'o' } },
},
},
{
'monaqa/dial.nvim',