Commit Graph

547 Commits

Author SHA1 Message Date
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
João vitor veras 556d74a0df
fixup(docs): miswritten sentence (#444) 2021-11-22 09:56:37 +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
lunarxlark 0118156197
missing comma in README.md (#440) 2021-11-20 11:05:08 +06:00
shadmansaleh 44e09a0a99 chore: update contribution instructions 2021-11-18 09:06:23 +06:00
shadmansaleh 93c934a641 fixup: fix padding, fmt options in tabs and buffers
Previously these options were applied to entire tabs/buffers components.
Now they are applied to specific buffer/tab.

Note: Now icon, color options are no longer applicable to buffers & tabs
component. I can't see how they make sense here. Also cond stil applies
to entire component.

fixes #414
2021-11-18 08:12:33 +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
github-actions[bot] e6b6caa93b
chore: formated with stylua (#435)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-11-13 20:02:27 +06:00
Shadman 46534fe8b7
fix: fix flacky test (#434) 2021-11-13 20:01:01 +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 df46c1e70a enhance: add notice for invalid types of component 2021-11-11 16:52:27 +06:00
shadmansaleh 312343db15 doc: clarify color option docs 2021-11-11 16:12:13 +06:00
Anakael 3b1a367d76
doc: fix hint icon doc in diagnostics component (#426) 2021-11-09 10:03:03 +06:00
Fitrah Muhammad 9143f8a8d0
enhance(filetype): filetype option as fallback of file extension for icon detection (#415)
* enhance(filetype): filetype option precede extension for icon detection

Enhances icon detection for files without extension e.g. shebang or
modeline by using filetype option before the extension.

* fixup(filetype): filetype option as fallback of file extension

Some file icon keys defined by [nvim-web-devicons][1] using file
extension name instead of filetype option.

There's been an [issue][2] about this but no PR for it yet, so I think
for now we can handle it here.

[1]: https://github.com/kyazdani42/nvim-web-devicons
[2]: https://github.com/kyazdani42/nvim-web-devicons/issues/29

* refactor(filetype): `vim.api.nvim_buf_get_option` -> `vim.bo`
2021-11-08 07:22:30 +06:00
Arthur Skobara 3f5cdc51a0
fixup: missing hint value inside vim_lsp source (#421) 2021-11-05 12:55:28 +06:00
github-actions[bot] 7eff9bbeb4
chore: formated with stylua (#410)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-10-29 19:13:17 +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
Shadman ecaa491c3c feat: add support for function in max_length option (tabs & buffers) 2021-10-29 19:07:11 +06:00
adrian5 96263bcef6
doc: fix a few typos (#407) 2021-10-28 21:22:15 +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