Commit Graph

665 Commits

Author SHA1 Message Date
shadmansaleh 2e2284db88 chore: autogen (vimdocs+formating) 2023-10-18 05:00:59 +00:00
Shadman 343e1941ba
drop support for nvim-0.5, 0.6 (BREAKING) (#1002)
* chore: drop support for nvim-0.5, 0.6 (BREAKING)

Users of these versions can still use compatibility tags
compat-nvim-0.5 and compat-nvim-0.6 respectively.

BREAKING CHANGE

* add testing for 0.9
2023-10-18 11:00:32 +06:00
Pedro Pombeiro c55af3b39c
enhance: Update git_branch.lua to use GIT_DIR environment variable (#1114)
Fix typo

Remove whitespace

Try GIT_DIR first
2023-10-18 10:49:27 +06:00
shadmansaleh 1a3f6bba41 chore: autogen (vimdocs+formating) 2023-10-17 09:52:19 +00:00
暮晨 388a396411
Added extension for mason (#1113)
* feat: added extension for mason

* feat: update readme

* feat: capitalize the first letter

* feat: delete icon

---------

Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-10-17 15:51:54 +06:00
shadmansaleh e7efd7dd3a chore: autogen (vimdocs+formating) 2023-10-17 09:37:53 +00:00
Anthony Ruhier 5d85dc7858
Add options to the Tabs module to align it with the Buffers module (#920)
* 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
2023-10-17 15:37:24 +06:00
shadmansaleh 45e27ca739 chore: fix tests failing due to icon change 2023-08-03 13:03:30 +06:00
shadmansaleh 146f40d83c chore: autogen (vimdocs+formating) 2023-08-03 07:01:45 +00:00
Ofir Gal afece9bbf9
Added hlgroup for `diff` of lualine (#846)
* 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>
2023-08-03 13:01:10 +06:00
shadmansaleh 05d78e9fd0 fixup: fix tests 2023-05-04 21:17:02 +06:00
shadmansaleh e41d48ebcc chore: use nvim-tree/nvim-web-devicons in ci 2023-05-04 21:14:31 +06:00
Eugene Oliveros 8912bea65d
fix: replace deprecated nerdfont icons (#1035)
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2023-05-04 21:08:04 +06:00
zeertzjq 442d2ab757
feat!: switch to Nerd Fonts v3.0.0 for diagnostic symbols (#1033)
Ref https://github.com/ryanoasis/nerd-fonts/issues/1059#issuecomment-1404891287
2023-05-04 20:59:39 +06:00
shadmansaleh 84ffb80e45 fixup: showcmd not working with %s
switch to using %z for internal separator representation
since %s is now used by neovim.

closes #949
2023-04-09 15:48:56 +06:00
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