Commit Graph

125 Commits

Author SHA1 Message Date
shadmansaleh 93b2f4af62 chore: autogen (vimdocs+formating) 2022-08-03 15:36:17 +00:00
shadmansaleh e8294ac56a feat: allow lualine to be temporarily completely disabled
Adds `lualine.hide()`

closes #776
2022-08-03 21:35:31 +06:00
shadmansaleh b80ba74d4c enhance/doc: rename refresh_opts.kind to scope.
document lualine.refresh()
apply defaults to refresh_opts
2022-08-03 21:35:31 +06:00
Shadman 6d11f9f508
feat: allow lualine to ignore focus on specific filetypes. (#767)
* feat: allow lualine to ignore focus on specific filetypes.

closes #710

* fix: extensions on ingnored_focus

* perf: reuse api call results & use local variables instead of vim.g

* make location & progress components behave in ingnored filetypes

* fix: crash when last_focused win gets closed

* fix: location & progress related broken tests
2022-07-29 16:54:31 +06:00
Yohanes Bandung Bondowoso 0521ada344
feat: add workspace diagnostics source (#618)
* feat: add workspace diagnostics source

* doc: add nvim_workspace_diagnostics to list of sources

Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
2022-07-28 00:02:58 +06:00
shadmansaleh d7386bbab3 chore: autogen (vimdocs+formating) 2022-07-22 13:30:37 +00:00
Shadman 0ac721d376
feat: add on_click option to interact with mouse (#742)
* feat: add on_click option to interact with mouse

closes #706
2022-07-20 19:28:49 +06:00
shadmansaleh 655411fb7a chore: autogen (vimdocs+formating) 2022-07-15 11:53:29 +00:00
shadmansaleh 588cf4185b chore: autogen (vimdocs+formating) 2022-07-13 07:25:40 +00:00
shadmansaleh 5113cdb32f chore: autogen (vimdocs+formating) 2022-06-21 11:06:47 +00:00
shadmansaleh b656978a6e chore: autogen (vimdocs+formating) 2022-06-20 20:41:43 +00:00
shadmansaleh 3362b28f91 chore: autogen (vimdocs+formating) 2022-05-30 14:25:38 +00:00
shadmansaleh c12b167310 chore: autogen (vimdocs+formating) 2022-05-22 17:26:20 +00:00
shadmansaleh d64152cf5c chore: autogen (vimdocs+formating) 2022-05-20 00:48:48 +00:00
shadmansaleh a4e4517ac3 chore: autogen (vimdocs+formating) 2022-05-13 05:28:37 +00:00
shadmansaleh 45d07fc026 chore: autogen (vimdocs+formating) 2022-05-02 02:16:27 +00:00
shadmansaleh 030eb62bc4 chore: autogen (vimdocs+formating) 2022-04-30 10:11:22 +00:00
shadmansaleh 18a07f790e doc: update benchmarks
closes #654
2022-04-18 05:20:29 +06:00
shadmansaleh 15a6b343aa chore: autogen (vimdocs+formating) 2022-04-13 05:56:27 +00:00
shadmansaleh 363ca4ccc7 chore: update support link 2022-04-13 11:54:01 +06:00
Jinq Qian c2165540a8
feat: show index in buffers component instead of bufnr (#628)
Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
2022-04-13 11:01:42 +06:00
shadmansaleh 00dc7929fe chore: autogen (vimdocs+formating) 2022-04-13 05:00:24 +00:00
Camille Dejoye e9b935ccd6
feat: add windows component (#595)
Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
2022-03-26 19:31:40 +06:00
shadmansaleh 428da5a1b5 chore: add support link 2022-03-26 10:00:51 +00:00
Shadman 60b1d5dce9
feat: add support for global statusline (#613) 2022-03-18 06:59:01 +06:00
shadmansaleh 32c85cd214 feat: add custom color support for icons 2022-03-02 20:02:58 +06:00
Shadman 37a314b9e3
feat: add support for dynamic color with functions in color options (#566)
* feat: allow functions in color options.

* update_evilline

* docs: document color functions

* remove unnecesery stuff

* add dynamic color supoort for themes

* chore: autogen (vimdocs+formating)

* fix dynamic colors not working as color fallback

* fix transitional separators not updating for dynamic colors dynamic colors

* fix failing tests

* apply format

* Allow cases where theme doesn't even define nornal color for some mode

* allow color function to return nil

* some enhancements

* more enhancements

* code cleanup

* if we don't have even normal in theme we should just nvim highlight it with it's ususal stl colors

* not sure how it get here . It should be in different pr

* keep only c of lualine_c in component section name

* use sh to run docgen

* fix filetype component not respecting color option properly

* fix section x,y,z not falling back to correct colors

* auto format

* actually fix xyz not falling back to correct mode

* fix comp sep not correctly removed properly on function hl

* pass only section in color fn

* more enhancements

* update docs

* update create_comp_hl call locations

* enhancements+fixes

* fix broken hls in tabline

* Fix function color options not inheriting right colors

* some enhancements

* fix tests

* tweek docs

Co-authored-by: shadmansaleh <shadmansaleh@users.noreply.github.com>
2022-03-02 19:37:08 +06:00
shadmansaleh 9420fed0b1 chore(doc): remove backticks from helptags 2022-02-07 21:30:06 +06:00
Tokubara d52ff470de
feature to rename tabs (#574)
* (feat) add rename

* remove tabname if LualineRenameTab is ran without args

* document LualineRenameTab

Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
2022-02-07 21:26:25 +06:00
shadmansaleh 37179f9149 chore: autogen (vimdocs+formating) 2022-02-07 05:27:07 +00:00
shadmansaleh dc20cbd0a9 chore: autogen (vimdocs+formating) 2022-02-06 07:24:32 +00:00
Shadman 247aafd7fc
chore: overhaul CI (#565)
* run tests on multiple versions of neovim
* run docgen & formating in pr
* chore: small fixes in docs.
2022-02-01 14:00:36 +06:00
github-actions[bot] fd8fa5ddd8
chore: generated vimdoc (#539)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-01-07 21:54:10 +06:00
github-actions[bot] c2107f52e1
chore: generated vimdoc (#519)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-01-02 09:42:43 +06:00
github-actions[bot] e0a7d5bfcb
chore: generated vimdoc (#517)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-31 18:10:45 +06:00
shadmansaleh 9e26823ea6 fixup: error on branch component when stray .git files exist
fixes #490
2021-12-25 16:13:39 +06:00
github-actions[bot] 593e28964c
chore: generated vimdoc (#506)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-22 20:56:49 +06:00
Tobias Schmitz d02658b34d
feat(filename): add unnamed option (#496)
* feat(filename): add unnamed option

* docs(filename): add documentation for symbols
2021-12-18 18:49:41 +06:00
shadmansaleh 3a17e2dbca chore(doc): update link to wiki/Writting-a-theme 2021-12-10 06:41:20 +06:00
shadmansaleh 4231b63196 fix: lsp.diagnostics deprecation warning
- change default diagnostics source from nvim_lsp to nvim_diagnostic
  and deprecate nvim_lsp on neovim-0.6 and higher.
- rename diagnostics source nvim to nvim_diagnostic. nvim could be
  confusing.

fixes #473
2021-12-09 23:33:36 +06:00
github-actions[bot] d68631d2c0
chore: generated vimdoc (#468)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-06 08:10:59 +06:00
YONG LI 1ae4f0aa74
Support symbols-outline extension (#456)
* Support symbols-outline extension.
2021-11-28 17:00:34 +06:00
shadmansaleh cf75e1af5a docs: fix custom extension example
closes 453
2021-11-26 09:59:20 +06:00
github-actions[bot] 3ad39d4d76
chore: generated vimdoc (#446)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-22 10:16:27 +06:00
github-actions[bot] 98b9c05b06
chore: generated vimdoc (#441)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-20 11:06:07 +06:00
shadmansaleh 7b608cb573 doc: remove folds from README
people seem to have trouble finding documented stuff
because of them :/
2021-11-16 08:56:28 +06:00
Ilya Malyavin d2f5d6c8aa
feat(buffers): option to show buffer index (#433)
* feature(buffers): option to show buffer indices
2021-11-13 19:44:35 +06:00
shadmansaleh 312343db15 doc: clarify color option docs 2021-11-11 16:12:13 +06:00
github-actions[bot] 0928fef6c2
chore: generated vimdoc (#411)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-29 19:10:46 +06:00
github-actions[bot] 3d262d028d
chore: generated vimdoc (#405)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-28 09:51:44 +06:00