Skip to content

Commit 4fbc894

Browse files
committed
fix: clear search highlight after conversion
1 parent 86cfc69 commit 4fbc894

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/tabs-vs-spaces.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ function M.convert(indentation, range)
208208
vim.cmd("silent set noet|" .. pattern)
209209
current_deviator = "spaces"
210210
end
211+
vim.cmd("noh")
211212
end
212213

213214
---@param range 0|2

0 commit comments

Comments
 (0)