pass 1: get rid of obsolete modules
Some checks failed
ci / ci (push) Failing after 3m9s

This commit is contained in:
2026-04-04 10:19:23 -06:00
parent 9199a9bc3a
commit b00d8d2fa7
20 changed files with 29 additions and 3758 deletions

View File

@@ -1,4 +1,3 @@
local Buffer = require 'u.buffer'
local Pos = require 'u.pos'
local Range = require 'u.range'
local txtobj = require 'u.txtobj'
@@ -7,10 +6,10 @@ local M = {}
function M.setup()
-- Select whole file:
txtobj.define('ag', function() return Buffer.current():all() end)
txtobj.define('ag', function() return Range.from_buf_text(0) end)
-- Select current line:
txtobj.define('a.', function() return Buffer.current():line(Pos.from_pos('.').lnum) end)
txtobj.define('a.', function() return Range.from_line(0, Pos.from_pos('.').lnum) end)
-- Select the nearest quote:
txtobj.define('aq', function() return Range.find_nearest_quotes() end)