diff options
Diffstat (limited to 'dot-config/nvim/plugin/lualine.lua')
| -rw-r--r-- | dot-config/nvim/plugin/lualine.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dot-config/nvim/plugin/lualine.lua b/dot-config/nvim/plugin/lualine.lua new file mode 100644 index 0000000..b605786 --- /dev/null +++ b/dot-config/nvim/plugin/lualine.lua @@ -0,0 +1,22 @@ +vim.pack.add({ + "https://github.com/nvim-lualine/lualine.nvim", +}) + +local wc = require("wordcount") + +require("lualine").setup({ + options = { + component_separators = "", + section_separators = "", + }, + sections = { + lualine_y = { + -- Add wordcount + { wc.wordcount, cond = wc.is_available }, + -- Existing conf + "progress", + }, + }, +}) + +vim.o.cmdheight = 0 -- Puts Lualine at very bottom |
