Arch 2025 rice. Also contains a newly inspired neovim config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
267 B

  1. return {
  2. getWords = function()
  3. local wordcount = vim.fn.wordcount()
  4. if wordcount.visual_words ~= nil then
  5. return tostring(wordcount.visual_words) .. "/" .. tostring(wordcount.words) .. " W"
  6. end
  7. return tostring(wordcount.words) .. " W"
  8. end
  9. }