Commit Graph

152 Commits

Author SHA1 Message Date
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
Rocky Zhang f9b5f12f67
fix typo (#573) 2022-02-07 11:26:35 +06:00
Rocky Zhang d3c513a3fa
Extension for aerial.nvim (#572)
* Extension for aerial.nvim
2022-02-06 13:23:59 +06: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
C.D. MacEachern 98ce91cc5d
fix(typos): README fixes (#538) 2022-01-07 21:53:14 +06:00
Aziz Ben Ali 0382f89dc4
Enhanced readability for lualine's documentation (#518)
* docs: keep same style across docs and fix several typos

* docs: better formatting

* fix: address review comments

* docs: enhanced readability

* docs: follow the rules

* docs: fix some typos, and utilize backticks

* docs: slight tweaks to the wording

* docs: enclose require calls with parentheses

* docs: last minute tweaks

* fix: changes to wording & removal of trailing whitespace

* fix: use whole words
2022-01-02 09:41:06 +06:00
Aziz Ben Ali 9fcdafebd1
docs: keep the same style across documentation & fix some typos (#515)
* docs: keep same style across docs and fix several typos

* docs: better formatting
2021-12-31 18:06:08 +06:00
Khang afaa540333
chore: fix typos (#507) 2021-12-24 08:03:11 +06:00
Andreas Bissinger e767536d7b
Fix example buffers configuration (#505) 2021-12-22 20:55:42 +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
joao-vitor-sr 1a888a1ed3
docs: fix README.md (#466)
fix some errors of indentation in the README.md file
2021-12-06 08:09:43 +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
shadmansaleh 07abfeabfd feat: add slanted-gap example 2021-11-25 13:11:04 +06:00
João vitor veras 556d74a0df
fixup(docs): miswritten sentence (#444) 2021-11-22 09:56:37 +06:00
lunarxlark 0118156197
missing comma in README.md (#440) 2021-11-20 11:05:08 +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
Shadman ecaa491c3c feat: add support for function in max_length option (tabs & buffers) 2021-10-29 19:07:11 +06:00
André Augusto 0b0233f808
feat: add symbols option to fileformat (#401)
* doc: add symbol to fileformat component specific option
2021-10-27 03:04:53 +06:00
shadmansaleh 8d8c538fb9 fixup: fix update_in_insert caching colors in diagnostics
- mention colored option in docs
- sort component option list alphabeticaly

close #402
2021-10-26 14:37:50 +06:00
Mark Story 61cd6e6ef8
feat: add fern extension (#398)
* Add fern extension

Fern[^1] is general purpose tree view that can browse and manipulate
file trees. This extension provides a simple and useful statusline for
fern buffers.

[^1]: https://github.com/lambdalisue/fern.vim

* Reuse nerdtree code for fern

* doc: mention fern in README

Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
2021-10-26 09:21:38 +06:00
shadmansaleh ef063f72b4 doc: fix default config missing comma 2021-10-23 18:44:06 +06:00
shadmansaleh 71f6fed3c3 chore: update readme 2021-10-22 19:10:33 +06:00
Mat Jones e909cc3caf feat: add option to always show diagnostics
* rename option and add to default config

* combine separate if statements using else if
2021-10-22 18:07:34 +06:00
shadmansaleh ad4f4ff751 chore: repo transfer to nvim-lualine 2021-10-22 10:57:04 +06:00
shadmansaleh d25a37fea0 refactor: rename component type luae and vimf
- rename luae -> lua_expr
- rename vimf -> vim_fun
luae & vimf were too vague and hand to understand.

BREAKING_CHANGE
2021-10-11 17:09:07 +06:00
shadmansaleh 6aa103def8 doc: fix color docs for diff & diagnostics component
fixes #39
closes #78
2021-10-09 16:08:22 +06:00
Shadman da9447fd49
fixup: fix link in README. 2021-10-09 08:12:18 +06:00
shadmansaleh 014a80d138 doc: let users know about wiki in README 2021-10-09 00:05:26 +06:00
shadmansaleh 98b43ba3a1 fix: left sections taking over entire stl when xyz is absent
- now %= applied even when x,y,z is absent
- newly added always_divide_middle option cal be set to false to avood %=
2021-10-08 04:46:38 +06:00
Shadman d24beddcb6
chore: update README.md 2021-09-25 15:51:46 +06:00
shadmansaleh 8f647f7e5a chore: add contributors to README.md 2021-09-23 13:29:41 +06:00
shadmansaleh ceec01bc6c enhance: set default diagnostics source to nvim-lsp & coc
doc: update docs for options.
2021-09-21 12:30:19 +06:00
shadmansaleh 07d3df01a1 doc: update README 2021-09-21 09:52:12 +06:00
shadmansaleh d8b960fc34 doc: introduce lua-heredoc for configuring through viml 2021-09-20 22:03:10 +06:00
shadmansaleh cdc574c9b0 fix: nil error with Alpha on buffers component 2021-09-20 21:47:57 +06:00
shadmansaleh aea5d8b90c chore: fix typos 2021-09-20 19:40:47 +06:00
Dheepak Krishnamurthy 4ca1a8fd00
Add buffers and tabs component (#42)
* feat: Add tabs component  
* feat: Add buffers component 

Now you can have traditional tabline/bufferline directly with lualine.

Special thanks to @kdheepak for making it happen.

Co-authored-by: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com>
2021-09-20 19:11:41 +06:00
shadmansaleh 9f556fdf37 chore: add license statements and update benchmarks 2021-09-20 17:48:22 +06:00
zeertzjq ee4e69ba24
doc: document toggleterm extension (#60) 2021-09-19 16:13:02 +06:00