-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Not be able to enable relative number line by default #2161
Comments
I use this:
|
That works, thanks! On Thursday, July 16, 2015 at 5:26 PM, duerrp wrote:
|
Works for me, too |
doesn't work for me. Am I doing something wrong?
|
@diego-alvarez-hs Delete the |
That's correct |
It doesn't work :( |
If I start it manually with |
💃 This conf worked for me:
|
Any attempt to use linum-relative (including @d1egoaz 's solution above) now triggers cascades of this for me: Though the autoload solution used to work, it doesn't anymore for some reason. |
The max-lisp-eval-depth message is usually an infinite recursion error |
@xoltar maybe it's something failing before enabling linum. Try to move those lines at the beginning of user-config. |
Just checked out the init function for this package, and it wasn't set up well. Hopefully #3416 will fix these issues. |
The toggle is being called after the package is loaded, but the package is deferred based on a call to the toggle. This means that the first time toggle is used it's called at least twice. Furthermore, `(setq linum-format 'linum-relative)` effectively turns on the mode as it is. Possible fix for #2161
@yejianye should be fixed in develop, can you test it when you get a chance ? |
Environment:
Steps:
I added
(global-linum-mode) (linum-relative-toggle)
in
dotspacemacs/config
. But when I started Emacs, it enables line numbers but not relative numbers.The text was updated successfully, but these errors were encountered: