Skip to content

Commit

Permalink
fix: Wordcount in markdown, latex, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Jul 22, 2024
1 parent bd54251 commit 4eea2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/core/plugins/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ local function default_config_function(opts)
table.insert(opts.sections.lualine_y, 1, {
wordCount,
cond = function()
local ft = vim.opt_local.filetype:get()
local ft = vim.bo.filetype
local count = {
latex = true,
tex = true,
Expand Down

0 comments on commit 4eea2e3

Please sign in to comment.