feat(nvim): re-add lualine and noice
This commit is contained in:
parent
4da372c8ce
commit
db7d2b442f
4 changed files with 114 additions and 0 deletions
40
config/neovim/after/plugin/lualine.lua
Normal file
40
config/neovim/after/plugin/lualine.lua
Normal file
|
@ -0,0 +1,40 @@
|
|||
local status_ok, lualine = pcall(require, "lualine")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
local noice = require 'noice'
|
||||
|
||||
lualine.setup {
|
||||
options = {
|
||||
component_separators = { left = '', right = '' },
|
||||
extensions = { "fzf", "quickfix" },
|
||||
icons_enabled = false,
|
||||
section_separators = { left = '', right = '' },
|
||||
theme = "catppuccin"
|
||||
},
|
||||
|
||||
sections = {
|
||||
lualine_x = {
|
||||
{
|
||||
noice.api.status.message.get_hl,
|
||||
cond = noice.api.status.message.has,
|
||||
},
|
||||
{
|
||||
noice.api.status.command.get,
|
||||
cond = noice.api.status.command.has,
|
||||
color = { fg = "#EED49F" },
|
||||
},
|
||||
{
|
||||
noice.api.status.mode.get,
|
||||
cond = noice.api.status.mode.has,
|
||||
color = { fg = "#EED49F" },
|
||||
},
|
||||
{
|
||||
noice.api.status.search.get,
|
||||
cond = noice.api.status.search.has,
|
||||
color = { fg = "#EED49F" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue