* Add a path option for tabs
Add get_props to align the module on Buffers.
* Add option to set the tab max size
Shorten dynamically the tab name to minimize its length when needed.
* Show modified status
* added higlightgroups for lualine to allow colorscheme to set colors for lualine
* chore: update docs for default diff color change
---------
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
- `searchcount.lua` now checks if the resulting table from
`vim.fn.searchcount` is empty to avoid the error.
Signed-off-by: Chris1320 <chris1320is@protonmail.com>
* added colours to qf extension to distinguish quickfix and location list
* renamed M.init() more properly
* decoupling colours assignments from init method
Use case: I have a custom theme that dynamically adjusts to the OS' dark/light mode. If the theme can be a function, that function can return the proper color values each time it is called.
* added extension for lazy.nvim
* add lazy to the list of extensions in README
---------
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
- Added `M.get_mode_suffix()` in `highlight.lua` to simplify retrieving the mode suffix.
- Fixed graphical bug occurring when `buffers` component color was changed.
- Separators would not change to new color.
- Fixed by adding the mode suffix to the highlight name
in `M.component_format_highlight` if the output of
`highlight.fn()` is a string.
- Added `use_mode_colors` option to `buffers`, `tabs`, and `windows` components.
- If it's set to true, the component's colors will change with the
mode, as most other components do.
- Updated readme.
* feat: add draw_empty option to always draw component event when it's empty
Closes#963
* tests: add test for component draw_empty option
* docs: add docs for component draw_empty option
---------
Co-authored-by: Carl Johnson <carl.darick.johnson@gmail.com>
Mitigation for #967
This happens primarily because of
https://github.com/neovim/neovim/issues/22263
To prevent this from affecting lualine. Mode changed event
for op-pending mode no longer gets scheduled.
As a side effect lualine no longer properly refreshes upon switching
to op-pending mode.