-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does wc-mode work with doom-emacs? #18
Comments
@bnbeckwith how does wc-mode update the modeline? I can't see where in the lisp code (eg Line 304 in 63be143
Doom modeline supports Alternatively, if we wanted to manually set those ourselves, which function should we call to return the formatted string? |
In the mode definition, there is a line that sets the Line 350 in 63be143
|
Not directly related to Doom Emacs but I was using the Moody mode line and always wondered if this package was broken (it's not). I finally spent some time today to figure this out. I just needed to add the following in my (add-to-list 'global-mode-string '(:eval wc-buffer-stats) 'APPEND) ; Add Word Count stats for the current buffer into the global mode line string (updates dynamically per buffer) Hope this helps anyone who may have the same issue and wonder why the mode line is not showing the word count information. @bnbeckwith Could I recommend adding a note about the need to configure wc-mode for custom mode lines in the README.org? Perhaps using the aforementioned one-line as an example of a "simple" solution (albeit a naive one, I am sure). It would help people out who may be expecting mode line functionality out of the box. Thanks for a great little Emacs package BTW :) |
I installed this package today in doom-emacs, but I can't see any word count in the modeline.
How could I do to enable it ?
Thanks.
The text was updated successfully, but these errors were encountered: