Commit Graph

650 Commits

Author SHA1 Message Date
Chris1320 c28a7427c3
Fix: `searchcount` error (#1004) (#1005)
- `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>
2023-04-03 16:41:41 +06:00
Gennaro Tedesco 9170434aa1
added colours to qf extension to distinguish quickfix and location list (#933)
* added colours to qf extension to distinguish quickfix and location list

* renamed M.init() more properly

* decoupling colours assignments from init method
2023-03-31 21:07:07 +06:00
Stefan Scherfke 0ddacf01ed
feat: allow specifying theme as function (#998)
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.
2023-03-31 14:03:47 +06:00
shadmansaleh 4bfc6bc4f3 chore: autogen (vimdocs+formating) 2023-03-31 08:02:48 +00:00
Mika Raunio 44a0fba867
feat: add name+parent path option for component(filename) (#945)
Co-authored-by: Mika Raunio <mika@diago.global>
2023-03-31 14:02:12 +06:00
shadmansaleh e80465d721 chore: autogen (vimdocs+formating) 2023-03-30 06:21:42 +00:00
Matthew Sia 7600962455
feat: added extension for trouble (#932)
* added extension for trouble

* add trouble extension to readme
2023-03-30 12:21:11 +06:00
shadmansaleh 3256691f8e chore: autogen (vimdocs+formating) 2023-03-30 06:17:32 +00:00
Gennaro Tedesco 5562281c60
feat: added extension for lazy.nvim (#956)
* added extension for lazy.nvim

* add lazy to the list of extensions in README

---------

Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-03-30 12:17:02 +06:00
shadmansaleh 7bd381c68b fixup: don't apply padding to empty components 2023-03-30 12:13:15 +06:00
shadmansaleh f850cb6776 chore: ignore .luarc.json file 2023-03-30 11:57:30 +06:00
shadmansaleh 1af8c67257 chore: autogen (vimdocs+formating) 2023-03-30 05:34:59 +00:00
Myshko Dm 253a656ca5
feat: add selectioncount component (#959) 2023-03-30 11:34:32 +06:00
Mustafa Hayati 87b7145aab
fix: update docs to use the new repo name for nvim-web-devicons. (#960)
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-03-30 11:31:53 +06:00
shadmansaleh 6a444d9901 chore: autogen (vimdocs+formating) 2023-03-30 05:30:47 +00:00
Myshko Dm 2ee2fd5b2b
feat: add maxcount & timeout options to searchcount (#958) 2023-03-30 11:30:15 +06:00
shadmansaleh 267dba7d37 chore: autogen (vimdocs+formating) 2023-03-30 05:29:14 +00:00
shadmansaleh 2c87c1c32d chore: place datetime component docs in correct location 2023-03-30 11:28:39 +06:00
shadmansaleh 557715ff91 chore: autogen (vimdocs+formating) 2023-03-30 05:25:45 +00:00
Will Hopkins 7f5f2d811d
feat: change active color of `buffers`, `tabs` & `windows` component according to mode (#971)
- 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.
2023-03-30 11:25:14 +06:00
shadmansaleh dd823a69ca chore: autogen (vimdocs+formating) 2023-03-30 04:43:14 +00:00
Carl Johnson 9805076155
feat: add draw_empty option to always draw component event when it's empty (#964)
* 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>
2023-03-30 10:42:48 +06:00
shadmansaleh 508b0785bc chore: autogen (vimdocs+formating) 2023-03-30 04:32:45 +00:00
Will Hopkins c680fb4c25
feat: add datetime component (#973) 2023-03-30 10:32:17 +06:00
_rs 0695853055
fix: progress component changes size while scrolling (#986)
Fixes https://github.com/nvim-lualine/lualine.nvim/issues/849
2023-03-30 10:16:42 +06:00
Miroslav Bendík 092f2497f0
Show insert mode in terminal (powerline theme) (#989) 2023-03-30 10:15:36 +06:00
shadmansaleh 0fc41b68a1 chore: autogen (vimdocs+formating) 2023-03-30 04:14:44 +00:00
Simon Ho 9a01ed98df
Add overseer extension to README (#990) 2023-03-30 10:14:12 +06:00
shadmansaleh 6316774ac2 chore: autogen (vimdocs+formating) 2023-03-30 04:13:10 +00:00
Zhizhen He 6bb1f80a98
fix: typo (#997) 2023-03-30 10:12:37 +06:00
shadmansaleh f7b3daf1ae chore: autogen (vimdocs+formating) 2023-03-30 04:06:48 +00:00
Firas Khalil Khana 6b6c18023d
Update nvim-web-devicons link (#1000) 2023-03-30 10:05:54 +06:00
shadmansaleh e99d733e02 chore: autogen (vimdocs+formating) 2023-02-14 17:04:13 +00:00
shadmansaleh 2ac8d77575 fix: High cpu usage on O-PENDING mode
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.
2023-02-14 22:59:11 +06:00
shadmansaleh 0050b30855 chore: autogen (vimdocs+formating) 2023-01-11 06:28:58 +00:00
shadmansaleh d15019ce8e chore: remove funding links
they were never useful anyway.
2023-01-11 12:27:11 +06:00
shadmansaleh d8c392dd75 chore: autogen (vimdocs+formating) 2023-01-05 04:32:31 +00:00
Adrian Costin 36b3e39bd3
fix README.md typos (#914)
Co-authored-by: Adrian Costin <adrianc@synopsys.com>
2023-01-05 10:31:53 +06:00
shadmansaleh 599e477fe4 chore: autogen (vimdocs+formating) 2023-01-05 04:30:20 +00:00
QingTian1927 11757b012b
Add missing coma to README.md - filename component (#923) 2023-01-05 10:29:45 +06:00
shadmansaleh 32a7382a75 fixup: fix typos in issue template
fixes #922
2022-12-28 09:00:29 +06:00
shadmansaleh fffbcb8292 chore: autogen (vimdocs+formating) 2022-12-22 13:15:09 +00:00
Dalius Dobravolskas 3497c6c6b3
Passing self as second arg to self.options.fmt (#915)
* Add `tabnr` to `fmt` function

* Passing self as second arg to `self.options.fmt`

* README updated.
2022-12-22 19:14:34 +06:00
shadmansaleh afb8bfb786 enhance: explicitly prefer user config dir
when loading components/themes/extensions explicitly prefer users
config dir over plugin dirs instead of relying on sequencing of rtp.
2022-12-22 12:53:38 +06:00
shadmansaleh bfa0d99ba6 fixup: All tab names have prefix "fugitive: " if current buffer is
fugitive status buffer

fixes #901
2022-11-28 20:48:27 +06:00
shadmansaleh b6314ac556 fixup: tabs component doesn't show fugitive status name properly
fixes #900
2022-11-26 10:02:04 +06:00
shadmansaleh 3325d5d43a chore: autogen (vimdocs+formating) 2022-10-23 14:41:39 +00:00
zappolowski 9d177b668c
fix component(filetype) proper icon based on filetype (#810)
* Refactor tests to use stubs for nvim-web-devicons

* Simplify getting icon

`get_icon` does not need the 2nd parameter (`ext`) as it will derive it
from the given `name` (1st argument) itself.

* fix component(filetype) proper icon based on filetype

With https://github.com/kyazdani42/nvim-web-devicons/pull/125 a filetype
based lookup was implemented upstream which can be used to get an icon
when a file doesn't have an extension.

fixes #578
2022-10-23 20:41:12 +06:00
zappolowski a4bc56f6fe
docs: Mention that nvim-web-devicons is required for proper testing (#856) 2022-10-22 16:49:30 +06:00
Yotam aa357acdae
spaced combined word (#874) 2022-10-22 16:48:58 +06:00