This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
feat: add buffers count to lualine
master
Tovi Jaeschke-Rogers
1 week ago
parent
cef63c48b9
commit
83b0b2afc1
1 changed files
with
6 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
.config/nvim/lua/plugins/lualine.lua
+ 6
- 0
.config/nvim/lua/plugins/lualine.lua
View File
@ -25,6 +25,12 @@ return {
{
"
branch
"
}
,
{
"
branch
"
}
,
{
"
diff
"
}
,
{
"
diff
"
}
,
{
"
diagnostics
"
}
,
{
"
diagnostics
"
}
,
{
function
(
)
local
buffers
=
vim.fn
.
getbufinfo
(
{
buflisted
=
true
}
)
return
"
Buffers:
"
..
#
buffers
end
,
}
,
}
,
}
,
lualine_c
=
{
lualine_c
=
{
{
"
filename
"
,
file_status
=
true
,
path
=
1
}
,
{
"
filename
"
,
file_status
=
true
,
path
=
1
}
,
Write
Preview
Loading…
Cancel
Save