1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 06:58:01 +00:00

[neovim] Add noice search message to lualine and remove virtualtext

This commit is contained in:
Daniel Carrillo 2023-09-23 12:26:32 +02:00
parent b5e8ab9dbd
commit 24f0db31b9
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
2 changed files with 12 additions and 1 deletions

View File

@ -78,7 +78,15 @@ require("lualine").setup({
sections = {
lualine_a = { "mode" },
lualine_b = { "branch", venv },
lualine_c = { diagnostics, { "filename", path = 1 }, "searchcount", lsp_progress },
lualine_c = {
diagnostics,
{ "filename", path = 1 },
{
require("noice").api.status.search.get,
cond = require("noice").api.status.search.has,
color = { fg = "#c69026" },
},
},
lualine_x = {
{ gitblame.get_current_blame_text, cond = gitblame.is_blame_text_available },
diff,

View File

@ -16,6 +16,9 @@ require("noice").setup({
},
},
},
messages = {
view_search = false,
},
routes = {
{
filter = {