Word count custom component #1185
maxhambraeus
started this conversation in
Configuration
Replies: 1 comment
-
@maxhambraeus lualine_z = {
{
function()
return vim.fn.wordcount().words
end,
},
} Also I think for it to work you should add brackets ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to #328, I wanted to have a simple word count for files. I tried the solution given in that issue, but it still doesn't work, and I can't figure out why.
relevant sections in init.lua:
and
using lazy for packages, if that matters. Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions