https://github.com/maxmx03/roseline
https://github.com/maxmx03/roseline
neovim plugin statusline
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxmx03/roseline
- Owner: maxmx03
- Created: 2024-02-02T01:42:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-22T19:14:35.000Z (over 1 year ago)
- Last Synced: 2025-07-19T09:19:36.646Z (3 months ago)
- Topics: neovim, plugin, statusline
- Language: Lua
- Homepage:
- Size: 31.3 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Roseline

Minimal statusline
## Requirements
- [lsp](neovim/nvim-lspconfig)
- [gitsign](https://github.com/lewis6991/gitsigns.nvim)## Setup
### lazy
```lua
return {
{
'maxmx03/roseline',
opts = {},
dependencies = {
'rose-pine/neovim',
}
}
}
```## Configuration
To customize the layout, you need to create a function that will return a
string. This string will be the section of your status line.```lua
require('roseline').setup {
theme = 'rose-pine',
layout = {
a = section_a,
b = section_b,
c = section_c,
d = section_d,
e = section_e,
},
icons = {
vim = '',
git = {
head = '',
added = '',
changed = '',
removed = '',
},
diagnostic = {
Error = '',
Warning = '',
Information = '',
Question = '',
Hint = '',
Debug = '',
Ok = '',
},
os = {
Linux = '',
microsoft = '',
Darwin = '',
},
default = { left = '', right = '' },
block = { left = '█', right = '█' },
round = { left = '', right = '' },
},
}
```## Docs
`h roseline`
## Contribution
Any contributions are welcome; just send a pull request.
### Running Tests
#### Locally
```bash
apt install luarocks
luarocks install luacheck
luarocks install vusted
vusted tests```
#### Inside a container
```bash
docker compose up
```