diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 3fd4452..a4cf172 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -286,6 +286,9 @@ Uses `all-the-icons-material' to fetch the icon." (advice-add #'widen :after #'doom-modeline-update-buffer-file-state-icon) (advice-add #'fancy-narrow-to-region :after #'doom-modeline-update-buffer-file-state-icon) (advice-add #'fancy-widen :after #'doom-modeline-update-buffer-file-state-icon) +(advice-add #'org-narrow-to-subtree :after #'doom-modeline-update-buffer-file-state-icon) +(advice-add #'org-narrow-to-block :after #'doom-modeline-update-buffer-file-state-icon) +(advice-add #'org-narrow-to-element :after #'doom-modeline-update-buffer-file-state-icon) (when (>= emacs-major-version 26) (add-variable-watcher