mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(terminal): clear search highlight when opening a terminal
This commit is contained in:
parent
c1b76ee235
commit
5287f98fca
1 changed files with 2 additions and 0 deletions
|
|
@ -87,6 +87,8 @@ function M.open(cmd, opts)
|
||||||
vim.cmd.startinsert()
|
vim.cmd.startinsert()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.cmd("noh")
|
||||||
end
|
end
|
||||||
|
|
||||||
return terminals[termkey]
|
return terminals[termkey]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue