From 4fbc894fa11b282a0dd5d5a670922abd185ae527 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sun, 22 Sep 2024 11:02:26 +0200 Subject: [PATCH] fix: clear search highlight after conversion --- lua/tabs-vs-spaces.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/tabs-vs-spaces.lua b/lua/tabs-vs-spaces.lua index cdf4567..72fad22 100644 --- a/lua/tabs-vs-spaces.lua +++ b/lua/tabs-vs-spaces.lua @@ -208,6 +208,7 @@ function M.convert(indentation, range) vim.cmd("silent set noet|" .. pattern) current_deviator = "spaces" end + vim.cmd("noh") end ---@param range 0|2