summaryrefslogtreecommitdiff
path: root/dot-config/nvim/lua/plugins/lualine.lua
blob: d71612af1b293897753e7b35fe02b0a49eb33ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
local wc = require("wordcount")

return {
  "nvim-lualine/lualine.nvim",
  opts = {
    sections = {
      lualine_y = {
        -- Add wordcount
        { wc.wordcount, cond = wc.is_available },
        -- Existing conf
        { "progress", separator = " ", padding = { left = 1, right = 0 } },
        { "location", padding = { left = 0, right = 1 } },
      },
    },
  },
}