From 2aff69b0bb55f398d199db687617ed35d0335d5b Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Sun, 10 Mar 2024 23:53:04 -0600 Subject: Added multiple strategies for deteriming the column. Doing a full grid select can be intimidating. A word-wise strat is probably a good thing to have. --- lua/warp/strategy/null.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lua/warp/strategy/null.lua (limited to 'lua/warp/strategy/null.lua') diff --git a/lua/warp/strategy/null.lua b/lua/warp/strategy/null.lua new file mode 100644 index 0000000..9464547 --- /dev/null +++ b/lua/warp/strategy/null.lua @@ -0,0 +1,12 @@ +local vim = assert(vim) + +local M = {} + +M.null_strategy = function () + return { + display = function () return nil end, + on_char = function () return false end + } +end + +return M -- cgit