Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javiorfo/nvim-minimaline
Neovim minimal statusline written in Lua
https://github.com/javiorfo/nvim-minimaline
git lsp neovim neovim-plugin neovim-statusline statusline
Last synced: 3 months ago
JSON representation
Neovim minimal statusline written in Lua
- Host: GitHub
- URL: https://github.com/javiorfo/nvim-minimaline
- Owner: javiorfo
- License: other
- Created: 2023-05-27T00:33:12.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-14T02:24:43.000Z (6 months ago)
- Last Synced: 2024-08-14T03:59:57.953Z (6 months ago)
- Topics: git, lsp, neovim, neovim-plugin, neovim-statusline, statusline
- Language: Lua
- Homepage:
- Size: 44.9 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nvim-minimaline
### Neovim minimal statusline written in Lua
*nvim-minimaline is a Neovim statusline centered on icons and minimal configuration.*## Caveats
- Integration with `git` and `LSP`
- This plugin has been developed on and for Linux following open source philosophies.## Installation
`Packer`
```lua
use {
'javiorfo/nvim-minimaline',-- Optional (only if you want file icons in the statusline)
requires = 'nvim-tree/nvim-web-devicons'
}
```
`Lazy`
```lua
{
"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 }
}
}
```### Configuration
- Set up in *init.lua* if Packer is used. If Lazy is used the above.
```lua
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 }
}
```# Format
| MODE | GIT BRANCH | LSP DIAGNOSTICS | BUF_NAME BUF_NR -> STATE | LINE_NR/TOTAL_LINES COL_NR | ENCODING |
| ---- | ---- | ---- | ---- | ---- | ---- |
![]()
## Screenshots
---
### Donate
- **Bitcoin** [(QR)](https://raw.githubusercontent.com/javiorfo/img/master/crypto/bitcoin.png) `1GqdJ63RDPE4eJKujHi166FAyigvHu5R7v`
- [Paypal](https://www.paypal.com/donate/?hosted_button_id=FA7SGLSCT2H8G)