nvim-minimaline is a Neovim statusline centered on icons and minimal configuration.
- Integration with
git
andLSP
- This plugin has been developed on and for Linux following open source philosophies.
Packer
use {
'javiorfo/nvim-minimaline',
-- Optional (only if you want file icons in the statusline)
requires = 'nvim-tree/nvim-web-devicons'
}
Lazy
{
"javiorfo/nvim-minimaline",
lazy = false,
-- Optional (only if you want file icons in the statusline)
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {
-- Default init. For further configuration read below
require'minimaline'.setup {}
-- Disable minimaline in the following filetypes (default is empty table)
disabled_filetypes = { "NvimTree*" },
-- Enable or disable colors on LSP diagnostics (default is false)
lsp_colors_enabled = true,
-- Set minimaline colors
-- Use 256 Xterm colors
-- foreground is "fg", background is "bg" and additionally "gui" could contain "bold", "italic" or combination "bold,italic"
-- Set only one option is possible (only fg or only bg, etc)
style = { fg = 15, bg = 0 }
}
}
- Set up in init.lua if Packer is used. If Lazy is used the above.
require'minimaline'.setup {
-- Disable minimaline in the following filetypes (default is empty table)
disabled_filetypes = { "NvimTree*" },
-- Enable or disable colors on LSP diagnostics (default is false)
lsp_colors_enabled = true,
-- Set minimaline colors
-- Use 256 Xterm colors
-- foreground is "fg", background is "bg" and additionally "gui" could contain "bold", "italic" or combination "bold,italic"
-- Set only one option is possible (only fg or only bg, etc)
style = { fg = 15, bg = 0 }
}
MODE | GIT BRANCH | LSP DIAGNOSTICS | BUF_NAME BUF_NR -> STATE | LINE_NR/TOTAL_LINES COL_NR | ENCODING |
---|