Skip to content

add after-load-theme-hook#1703

Merged
cxxxr merged 1 commit intolem-project:mainfrom
SequentialDesign:add-load-theme-hook
Dec 10, 2024
Merged

add after-load-theme-hook#1703
cxxxr merged 1 commit intolem-project:mainfrom
SequentialDesign:add-load-theme-hook

Conversation

@SequentialDesign
Copy link
Copy Markdown
Contributor

add after-load-theme-hook so that users may add functions that should run after a theme is loaded. this could be useful in some cases. in my specific case, it's to to maintain the color of the point since it is always very hard to see when the point is on an overlay like in search.

add `after-load-theme-hook` so that users may add functions that should run after a theme is loaded.  this could be useful in some cases.  in my specific case, it's to to maintain the color of the point since it is always very hard to see when the point is on an overlay like in search.
@sakurawald
Copy link
Copy Markdown
Contributor

This is my config

(setf lem-vi-mode/core::*default-cursor-color* "#ffffff")
(setf (lem:variable-value 'lem-core::highlight-line-color :global) "#000066")

May be useful to color cursor.

@SequentialDesign
Copy link
Copy Markdown
Contributor Author

i only ever tried (set-attribute 'cursor :background "magenta") in my init.lisp, but because init runs after-init-hook, running initialize-theme' which in turn runs load-theme`, i didn't see another proper way to get my cursor to be what i wanted on startup

@cxxxr cxxxr merged commit 8fe2db6 into lem-project:main Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants