lualine.nvim/lua/lualine
Daemon 1cdddc2456
feat: add option to invert component icon alignment (#666)
* feat: add option to invert component icon alignment

Invert component status icon if variable is set `icon_right = true`.

* refactor: use string for icon alignment

Change conditional variable for icon left/right alignment from Boolean
to `icon_alignment = 'right'`.

* refactor: check icon table for alignment variable

Determine component status output from icon_alignment variable.
Provides alignment variables for generic component and filetype
devicons.

`component = { 'name', icon = {'*', align = 'right'} }`
`component = { 'filetype', icon_alignment = 'right' }`

* style: restore previous formatting on line 79

* refactor: set `self.option.icon` as table

* fix: forgot non-color icon alignment

* fix: remove redundant variable assignment

* docs: add README examples for icon alignment

Include configuration examples for icon alignment to README file.

* test: add test for filetype components icon align

Ensure testability for filetype icons being aligned to right side.
2022-04-30 16:10:47 +06:00
..
components feat: add option to invert component icon alignment (#666) 2022-04-30 16:10:47 +06:00
extensions Extension for aerial.nvim (#572) 2022-02-06 13:23:59 +06:00
themes chore: autogen (vimdocs+formating) 2022-04-13 04:59:06 +00:00
utils fix: make escape sequences compatible with Lua 5.1 (#663) 2022-04-24 13:12:03 +06:00
component.lua feat: add option to invert component icon alignment (#666) 2022-04-30 16:10:47 +06:00
config.lua feat: add support for global statusline (#613) 2022-03-18 06:59:01 +06:00
highlight.lua fix: theme colors not applied as default when color option is incomplete 2022-04-01 13:46:09 +06:00