shadmansaleh
d15019ce8e
chore: remove funding links
...
they were never useful anyway.
2023-01-11 12:27:11 +06:00
shadmansaleh
d8c392dd75
chore: autogen (vimdocs+formating)
2023-01-05 04:32:31 +00:00
Adrian Costin
36b3e39bd3
fix README.md typos ( #914 )
...
Co-authored-by: Adrian Costin <adrianc@synopsys.com>
2023-01-05 10:31:53 +06:00
shadmansaleh
599e477fe4
chore: autogen (vimdocs+formating)
2023-01-05 04:30:20 +00:00
QingTian1927
11757b012b
Add missing coma to README.md - filename component ( #923 )
2023-01-05 10:29:45 +06:00
shadmansaleh
32a7382a75
fixup: fix typos in issue template
...
fixes #922
2022-12-28 09:00:29 +06:00
shadmansaleh
fffbcb8292
chore: autogen (vimdocs+formating)
2022-12-22 13:15:09 +00:00
Dalius Dobravolskas
3497c6c6b3
Passing self as second arg to self.options.fmt ( #915 )
...
* Add `tabnr` to `fmt` function
* Passing self as second arg to `self.options.fmt`
* README updated.
2022-12-22 19:14:34 +06:00
shadmansaleh
afb8bfb786
enhance: explicitly prefer user config dir
...
when loading components/themes/extensions explicitly prefer users
config dir over plugin dirs instead of relying on sequencing of rtp.
2022-12-22 12:53:38 +06:00
shadmansaleh
bfa0d99ba6
fixup: All tab names have prefix "fugitive: " if current buffer is
...
fugitive status buffer
fixes #901
2022-11-28 20:48:27 +06:00
shadmansaleh
b6314ac556
fixup: tabs component doesn't show fugitive status name properly
...
fixes #900
2022-11-26 10:02:04 +06:00
shadmansaleh
3325d5d43a
chore: autogen (vimdocs+formating)
2022-10-23 14:41:39 +00:00
zappolowski
9d177b668c
fix component(filetype) proper icon based on filetype ( #810 )
...
* Refactor tests to use stubs for nvim-web-devicons
* Simplify getting icon
`get_icon` does not need the 2nd parameter (`ext`) as it will derive it
from the given `name` (1st argument) itself.
* fix component(filetype) proper icon based on filetype
With https://github.com/kyazdani42/nvim-web-devicons/pull/125 a filetype
based lookup was implemented upstream which can be used to get an icon
when a file doesn't have an extension.
fixes #578
2022-10-23 20:41:12 +06:00
zappolowski
a4bc56f6fe
docs: Mention that nvim-web-devicons is required for proper testing ( #856 )
2022-10-22 16:49:30 +06:00
Yotam
aa357acdae
spaced combined word ( #874 )
2022-10-22 16:48:58 +06:00
shadmansaleh
abb03129e0
chore: autogen (vimdocs+formating)
2022-10-19 09:07:21 +00:00
BlakeJC94
1a6ab5f2f4
feat: added searchcount component ( #869 )
...
* feat: added searchcount component
* feat: added timeout and maxcount to vim.fn.searchcount
* docs: added searchcount to README
* style: sorted list of components
2022-10-19 15:06:45 +06:00
Gennaro Tedesco
dcd194f700
added logic to show fzf-lua statusline if present ( #863 )
2022-10-19 08:19:50 +06:00
zappolowski
edca2b03c7
chore(ci): test on nvim-0.8 ( #857 )
2022-10-06 10:15:16 +06:00
shadmansaleh
f564015a23
chore: autogen (vimdocs+formating)
2022-10-05 06:44:31 +00:00
David Kennedy
0933392235
Update README.md ( #855 )
...
Lualine recognizes `go:` and `vo:` but Neovim doesn't and will throw an error.
2022-10-05 12:43:28 +06:00
Antoine Cotten
a52f078026
feat(utils): support extracting fallback color
2022-09-12 00:35:46 +06:00
Antoine Cotten
05f850d25f
feat(utils): support extracting 'sp' scope hl color
2022-09-12 00:35:46 +06:00
Andrey Mishakin
2061fcbf3b
fix: display virtual column number in location component ( #835 )
2022-09-12 00:32:09 +06:00
zappolowski
5d133a1ef2
fix component(filename) add separator between filename and icons ( #812 )
...
This makes it behave like the default statusline.
fixes #794
2022-09-10 15:39:38 +06:00
Daniel Enrique
a03f31f566
Add overseer extension. ( #828 )
...
* Add overseer ext.
* chore: autogen (vimdocs+formating)
Co-authored-by: dcordb <dcordb@users.noreply.github.com>
2022-09-10 15:22:46 +06:00
zappolowski
f10101ab04
feat(filename) Always use the first letter for hidden directories ( #833 )
...
Instead of shortening a path segment to just the dot, it is now always
using 2 characters.
E.g.
```
~/.config/nvim/lua/config/lualine.lua
```
is shortened to
```
~/.c/n/l/c/lualine.lua
```
This includes a rewrite of the shortening logic as it cannot be
expressed easily/readable using patterns. The current approach starts at
the beginning and replaces each segment by a shortened version and
keeping track of the overall length (basic book keeping on how many
characters were saved by the replacement).
2022-09-10 15:20:37 +06:00
matthewsia98
2176d85f39
corrected order returned by workspace diagnostic ( #831 )
2022-09-10 15:14:26 +06:00
shadmansaleh
3cf45404d4
chore: autogen (vimdocs+formating)
2022-08-22 05:13:35 +00:00
Keith Plant
b87e47e1de
enhance: refresh lualine on CursorMovedI event ( #809 )
2022-08-22 11:13:03 +06:00
shadmansaleh
9076378ac1
chore: autogen (vimdocs+formating)
2022-08-20 15:51:32 +00:00
John Fred Fadrigalan
5d8fbf2943
fix component(filetype) to return default icon instead of nothing ( #800 )
2022-08-20 21:50:53 +06:00
shadmansaleh
c0510ddec8
chore: autogen (vimdocs+formating)
2022-08-09 07:08:23 +00:00
Hongbo Liu
7b4b864af7
[filename] avoid new file status for unnamed ( #795 )
2022-08-09 13:07:55 +06:00
Plato
03bcf015d1
More user-friendly LualineBuffersJump ( #780 )
...
* buffers: user friendly LualineBuffersJump version
LualineBuffersJump throws an error when an attempt to jump to a
non-existent buffer index is made. It's expected from users to
trigger this error by accident while attempting to switch buffers.
To deal with this add <bang> support to LualineBuffersJump.
Signed-off-by: Plato Kiorpelidis <kioplato@gmail.com>
* chore: autogen (vimdocs+formating)
Co-authored-by: kioplato <kioplato@users.noreply.github.com>
2022-08-08 21:52:28 +06:00
shadmansaleh
4b5048aee1
chore: autogen (vimdocs+formating)
2022-08-08 10:11:17 +00:00
shadmansaleh
de778faf81
enhance: for command ModeChanged event refresh lualine in autocmd context
...
closes #791
2022-08-08 16:08:13 +06:00
shadmansaleh
5b1dc4da0b
chore: update issue_template
2022-08-08 12:16:22 +06:00
shadmansaleh
664c688974
enhance: refresh lualine on CursorMoved event
...
closes #792
2022-08-08 12:01:52 +06:00
shadmansaleh
1e53bf7386
chore: autogen (vimdocs+formating)
2022-08-08 06:00:02 +00:00
Hongbo Liu
679e9e71de
[filename] support detect new file status ( #785 )
...
* [filename] support detect new file status
* update readme about new file status
* add definition for new file
2022-08-08 11:59:33 +06:00
shadmansaleh
e22c7b3c9b
Revert: "Revert fix: don't call redrawstatus/tabline they have a ton of side effects"
...
This commit reverts b1042d3184
Yeah calling redraw still causes too many issues like #781 #788
fixes #788
2022-08-07 20:34:09 +06:00
shadmansaleh
f40db9a224
fixup: prevent wildmode=list from disapearing
...
don't call redrawstatus on command mode if wildmode is set to list
fixes #781
2022-08-07 12:33:39 +06:00
shadmansaleh
b1042d3184
Revert "fix: don't call redrawstatus/tabline they have a ton of side effects"
...
This reverts commit 6fbc35b3e0
.
The statusline flashing issue in #747 doesn't seem to occur any more as we
aren't updating in autocmd context . But we still have statusline
not updating in cmdline mode. So lets try reintroducing the redraw
commands.
2022-08-04 19:23:38 +06:00
shadmansaleh
d2a727da9f
fixup: globalstatus hidden in floating windows + flickering
...
fixes #774
2022-08-04 18:33:16 +06:00
shadmansaleh
136a92cb97
fixup: fix all winbars being evaluated in curwins context with globarstatus
...
fixes #779
2022-08-04 18:05:05 +06:00
shadmansaleh
f50ce0f9f6
fixup: statusline not refreshing when winbar or inactive_winbar is set
...
fixes #777
2022-08-03 21:45:52 +06:00
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