mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 12:48:01 +00:00
[neovim] Add noice search message to lualine and remove virtualtext
This commit is contained in:
parent
b5e8ab9dbd
commit
24f0db31b9
@ -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,
|
||||
|
@ -16,6 +16,9 @@ require("noice").setup({
|
||||
},
|
||||
},
|
||||
},
|
||||
messages = {
|
||||
view_search = false,
|
||||
},
|
||||
routes = {
|
||||
{
|
||||
filter = {
|
||||
|
Loading…
Reference in New Issue
Block a user