Commit Graph

566 Commits

Author SHA1 Message Date
shadmansaleh 37179f9149 chore: autogen (vimdocs+formating) 2022-02-07 05:27:07 +00:00
Rocky Zhang f9b5f12f67
fix typo (#573) 2022-02-07 11:26:35 +06:00
shadmansaleh dc20cbd0a9 chore: autogen (vimdocs+formating) 2022-02-06 07:24:32 +00:00
Rocky Zhang d3c513a3fa
Extension for aerial.nvim (#572)
* Extension for aerial.nvim
2022-02-06 13:23:59 +06:00
shadmansaleh aed7f25461 doc: update some wording in CONTRIBUTING.md 2022-02-02 19:12:36 +06:00
shadmansaleh 0d0ea77e1a chore(ci): update autogen trigger events. 2022-02-01 15:19:45 +06:00
shadmansaleh 6f28adb21f chore: autogen (vimdocs+formating) 2022-02-01 08:04:03 +00:00
shadmansaleh bf6e2eaf54 chore: formating-> don't use parentheses on single table function calls 2022-02-01 14:03:25 +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
github-actions[bot] dc31077bc5
chore: formated with stylua (#564)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-01-31 23:36:06 +06:00
Shadman e6e75f5e92
fix: lualine crashing because of keyboard interrupt. (#534)
* fix: lualine crashing because of keyboard interrupt.

If keyboard interrupt occurs while lualine is evaluating statusline
lualine crashes completely. Since keyboard interrupt isn't something
we can handle try to mitigate the issue by retrying to evaluate the
statusline on error.Now lualine will retry 3 times before giving
up on an runtime error.

* Make last retry unprotected call
2022-01-31 23:34:53 +06:00
Illia Danko 9208bae98f
fix: use one theme colors from rakr/vim-one (#556)
* fix: use one theme colors from rakr/vim-one

Co-authored-by: Illia Danko <illia@aigent.com>
2022-01-24 22:36:25 +06:00
shadmansaleh 70691ae350 enhance: undeprecate nvim_lsp and completely remove `nvim` diagnostics source 😉
- Now `nvim_lsp` source shows diagnostics generated by vim.lsp only
  avoids uses vim.diagnostic to avoid deprecation warning on nvim 0.6+
  Why? `vim.lsp.diagnostic` deprecation warnings are way too aggressive.
  And I'm annoyed by people complaining here even though the warning is
  generated by some other plugin (After introduction of nvim_diagnostic
  source lualine just can't produce that warning it used to switch users
  to nvim_diagnostic source with a warning on nvim0.6+).
  Forget it just let anyone that wants lsp specific diagnostics have
  `nvim_lsp` . I'd still recommend using `nvim_diagnostic` over
  `nvim_lsp` as diagnostics generayed by plugins like `null-ls` won't
  showup in `nvim_lsp`
- Remove remanents of `nvim` diagnostics source.
2022-01-12 22:35:44 +06:00
shadmansaleh 750a94baef chore: remove older deprecation notices 2022-01-12 22:35:17 +06:00
Jascha van Aalst bc5c2f5658
fix: code doc typo in lualine.lua (#540) 2022-01-09 22:30:19 +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
C.D. MacEachern 98ce91cc5d
fix(typos): README fixes (#538) 2022-01-07 21:53:14 +06:00
shadmansaleh 52725d2ca8 fix: buffers component crash on unlisted buffers
Seems like get_buf_option doesn't work on unlosted buffers.
reverting back to using fn.buflisted()

fixes #532
2022-01-04 23:30:31 +06:00
kylo252 02e1f6cd5b
refactor: use nvim api directly for bufnr (#526) 2022-01-04 19:17:16 +06:00
kylo252 4b68b8dd2a
fix: use nvim-api to avoid win_getid exceptions (#525) 2022-01-04 07:22:52 +06:00
shadmansaleh b18b7ee8ac chore: Use paranthesis for function calls. No paran can trip new lua users 2022-01-02 17:38:39 +06:00
smhc a11f6d15d4
Schedule a redraw of tabline when setting tabline (#520)
* Schedule a redraw of tabline when setting tabline

The tabline isn't drawn until scrolling the window or opening another file. Opening multiple files at once (e.g. nvim a.txt b.txt) will only show the first.

By performing a deferred redraw of the tabline this fixes this startup behaviour problem.

* Changed to use vim.schedule
2022-01-02 17:05:42 +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
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
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
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
shadmansaleh 9e26823ea6 fixup: error on branch component when stray .git files exist
fixes #490
2021-12-25 16:13:39 +06:00
Khang afaa540333
chore: fix typos (#507) 2021-12-24 08:03:11 +06:00
Cason Adams a5b3895b57
Update evil_lualine.lua (#508)
fix: typeo in evil_lualine example
2021-12-23 11:39:41 +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
Andreas Bissinger e767536d7b
Fix example buffers configuration (#505) 2021-12-22 20:55:42 +06:00
Tobias Schmitz 3a17c8f05a
fix: don't hide readonly symbol when modified (#497) 2021-12-18 19:04:09 +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
James Yin c4a09735a6
fix: remove auto commands in lualine group properly on lualine reset (#488) 2021-12-13 18:22:30 +06:00
Tom 5596c2a25a
fix: x, y, z hl group not setting correctly (#484)
Highlight groups for x, y, z would only set correctly if theme had normal mode
explicitly set
2021-12-11 06:33:18 +06:00
shadmansaleh 3a17e2dbca chore(doc): update link to wiki/Writting-a-theme 2021-12-10 06:41:20 +06:00
Shadman f4ab5b56da
fix: diagnostics component in nvim-0.5 (#476) 2021-12-10 06:00:06 +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
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 49db98c856 fixup: fix diff component quiting properly
fixes #459
2021-11-28 16:46:37 +06:00
shadmansaleh cf75e1af5a docs: fix custom extension example
closes 453
2021-11-26 09:59:20 +06:00
shadmansaleh b7cf506785 enhache: support inlined custom component in extensions too 2021-11-25 13:44:15 +06:00
shadmansaleh 07abfeabfd feat: add slanted-gap example 2021-11-25 13:11:04 +06:00
shadmansaleh c030a380ef feat: add support for inline custom components 2021-11-25 12:57:00 +06:00
github-actions[bot] 17668aa19d
chore: formated with stylua (#447)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-22 19:41:13 +06:00
Shadman f286f0443d
tests: add more tests (#439)
* tests: add more tests

* fix: for now comment out tabline tests

will check later why some are passing locally but not in CI
2021-11-22 19:40:18 +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
shadmansaleh 8725c63941 enhance: add more fallback colors for diff component 2021-11-22 10:13:14 +06:00