spacemacs/layers
duianto ba8074b604 Fix symbol highlight ts counter
problem
The Symbol Highlight Transient State (`SPC s h`) counter
ex: [2/7]

Shows: [0/0]
when opening the TS, either with `SPC s h`, `SPC s H`
or when navigating between symbols with: `#` or `*`

cause
The symbols haven't been counted yet, when the TS is opened.

And the counter is reset when `auto-highlight-symbol-mode` is disabled,
this happens when the TS is restarted, which happens when navigating to the
next/previous symbol with `#` and `*`.

solution
Highlight the symbol before opening the TS.
And only disable `auto-highlight-symbol-mode` when the TS is closed.
(when the TS buffer " *LV*" doesn't exist)

notes
This also shows the "No previously searched for symbol found" message,
when the variable `spacemacs-last-ahs-highlight-p` is void on startup.
2021-07-16 16:23:30 +02:00
..
+chat rcirc: refactor 2021-04-04 12:48:21 +02:00
+checkers Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+completion [helm] Add S-RET keybinding for helm modes to open in other window 2021-05-17 22:07:28 +02:00
+distributions Fixed bugs and refactor in new EXWM layer 2021-06-05 15:02:57 +00:00
+emacs [org] Fix org-habit (#14838) 2021-06-19 17:47:42 +00:00
+email Fixed a bug in notmuch-tree which was preventing d/D bindings to work 2021-04-05 23:17:52 +02:00
+filetree Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+fonts/unicode-fonts Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+frameworks Defer loading of lsp servers up to when the buffer is visible 2021-06-06 22:26:31 +02:00
+fun xkcd: refactor 2021-04-04 12:48:21 +02:00
+intl [+intl/chinese] fix warning for quote lambda function (#14786) 2021-05-19 08:51:27 +00:00
+lang [bot] "spacemacs_fix_org" Mon Jul 5 23:23:52 UTC 2021 2021-07-05 16:24:48 -07:00
+misc [parinfer] Allow to disable auto-installation 2021-05-17 21:24:54 +00:00
+music [doc] fix links 2021-07-12 07:32:24 -07:00
+os [nix] Add key binding for nix-format-buffer 2021-06-06 21:44:34 +02:00
+pair-programming/floobits Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
+readers [pdf] Update pdf-layer documentation (#14791) (#14792) 2021-05-22 17:40:53 +00:00
+source-control Revert "Fix which-key entries: gr and gs in dired and magit" 2021-06-23 17:33:36 +02:00
+spacemacs Fix symbol highlight ts counter 2021-07-16 16:23:30 +02:00
+tags [gtags] improve 2021-04-15 21:44:46 +02:00
+themes colors: refactor 2021-04-04 12:48:21 +02:00
+tools [bot] "spacemacs_fix_org" Mon Jul 5 23:23:52 UTC 2021 2021-07-05 16:24:48 -07:00
+vim documentation formatting: Sun May 9 19:09:25 UTC 2021 2021-05-09 21:16:30 +02:00
+web/eww [eww] Change bindings to match its given category 2021-04-17 14:42:25 +00:00
+web-services documentation formatting: Sat Apr 17 07:08:57 UTC 2021 2021-04-17 11:32:54 +03:00
+window-management/exwm [bot] "spacemacs_fix_org" Mon Jul 5 23:23:52 UTC 2021 2021-07-05 16:24:48 -07:00
auto-layer.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
LAYERS.org [bot] "documentation_updates" Wed Jul 7 12:41:59 UTC 2021 2021-07-07 05:43:08 -07:00