diff --git a/lua/substitute/range.lua b/lua/substitute/range.lua index 5d3fa44..cee5de9 100644 --- a/lua/substitute/range.lua +++ b/lua/substitute/range.lua @@ -117,7 +117,7 @@ end function range.word(options) options = config.get_range(options or {}) - options.subject.motion = "iw" + options.subject = { expand = "" } options.complete_word = true range.operator(options) end