From ad1f3c26e220c6d1fedf7cebdf9dd6220fab3058 Mon Sep 17 00:00:00 2001 From: Jonathan Apodaca Date: Mon, 14 Apr 2025 16:10:19 -0600 Subject: [PATCH] (buffer) remove unnecessary utilities --- README.md | 24 ++++++++++++------------ lua/u/buffer.lua | 29 +++++++++++------------------ 2 files changed, 23 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 0483919..4fdda1b 100644 --- a/README.md +++ b/README.md @@ -401,19 +401,19 @@ Access and manipulate buffers easily: ```lua local Buffer = require 'u.buffer' local buf = Buffer.current() -buf:line_count() -- the number of lines in the current buffer -buf:get_option '...' -buf:set_option('...', ...) -buf:get_var '...' -buf:set_var('...', ...) -buf:all() -- returns a Range representing the entire buffer -buf:is_empty() -- returns true if the buffer has no text +buf.b.