Skip to content

Commit 2b5b9b0

Browse files
committed
Change hook for flutter colors
1 parent 73e2098 commit 2b5b9b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsp-dart-fringe.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@
109109
nil nil nil
110110
(cond
111111
(lsp-dart-fringe-colors-mode
112-
(add-hook 'lsp-on-change-hook #'lsp-dart-fringe--change-colors-handler nil t))
112+
(add-hook 'lsp-on-idle-hook #'lsp-dart-fringe--change-colors-handler nil t))
113113
(t
114-
(remove-hook 'lsp-on-change-hook #'lsp-dart-fringe--change-colors-handler t))))
114+
(remove-hook 'lsp-on-idle-hook #'lsp-dart-fringe--change-colors-handler t))))
115115

116116
(when lsp-dart-fringe-colors
117117
(add-hook 'lsp-after-open-hook

0 commit comments

Comments
 (0)