Open
Description
I have no idea what's happening here exactly, but here are the screenshots
This is right after opening a rust buffer, and eglot indexing being done.
If I switch to rust-mode
:
The TODO:
bit gets highlighted again.
Switching back to rustic-mode
lets it remain highlighted.
Alternatively, if I just move text around the todo a little bit, it highlights the TODO.
I'm opening an issue here instead of hl-todo's repo because it works outside of rustic-mode. Anyways, I'd also like for @tarsius to have a look.
My config for both:
(use-package
rustic
:init (setq rustic-lsp-client 'eglot)
:config (setq rustic-format-on-save t)
:custom
(rustic-analyzer-command '("rustup" "run" "stable" "rust-analyzer"))
(rustic-cargo-use-last-stored-arguments t))
(use-package
hl-todo
:config
(setq
hl-todo-highlight-punctuation ":"
hl-todo-keyword-faces
'(("TODO" . "#CC3333")
("FIXME" . "#FF0000")
("DEBUG" . "#A020F0")
("GOTCHA" . "#FF4500")
("STUB" . "#1E90FF")))
:hook (prog-mode . hl-todo-mode))
Thanks to everyone involved for such wonderful packages!
Metadata
Metadata
Assignees
Labels
No labels