Skip to content
Discussion options

You must be logged in to vote

Yes, these are equivalent:

(add-hook 'evil-insert-state-entry-hook (lambda () (hl-line-mode 1)))
(add-hook 'evil-insert-state-entry-hook (##hl-line-mode 1))

Enjoy!

(note lambdas are self-quoting, so there is no need to put a quote sign out front)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by linwaytin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants