feat(nvim): hack to disable search_count messages
This commit is contained in:
parent
96b9363b73
commit
e3c7f6fb21
@ -161,10 +161,10 @@ map("n", "<Leader>pR", fetch_and_reload_config_and_update_plugins,
|
||||
|
||||
|
||||
vim.cmd([[
|
||||
menu Encoding.koi8-r :e ++enc=koi8-r ++ff=unix<CR>
|
||||
menu Encoding.windows-1251 :e ++enc=cp1251 ++ff=dos<CR>
|
||||
menu Encoding.cp866 :e ++enc=cp866 ++ff=dos<CR>
|
||||
menu Encoding.utf-8 :e ++enc=utf8<CR>
|
||||
menu Encoding.windows-1251 :e ++enc=cp1251 ++ff=dos<CR>
|
||||
menu Encoding.koi8-r :e ++enc=koi8-r ++ff=unix<CR>
|
||||
menu Encoding.cp866 :e ++enc=cp866 ++ff=dos<CR>
|
||||
menu Encoding.koi8-u :e ++enc=koi8-u ++ff=unix<CR>
|
||||
|
||||
map <F8> :emenu Encoding.
|
||||
|
||||
@ -107,6 +107,7 @@ return {
|
||||
},
|
||||
{
|
||||
'xiyaowong/transparent.nvim',
|
||||
enabled = false,
|
||||
lazy = true,
|
||||
config = function()
|
||||
require("transparent").setup({
|
||||
@ -119,7 +120,7 @@ return {
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("virt-column").setup({
|
||||
virtcolumn = '81'
|
||||
virtcolumn = '80'
|
||||
})
|
||||
end
|
||||
},
|
||||
@ -178,6 +179,16 @@ return {
|
||||
health = {
|
||||
checker = false,
|
||||
},
|
||||
routes = {
|
||||
{ -- hack to disable search count
|
||||
filter = {
|
||||
event = "msg_show",
|
||||
kind = "echo",
|
||||
["not"] = { cmdline = true },
|
||||
},
|
||||
opts = { skip = true },
|
||||
},
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user