Commit graph

11910 commits

Author SHA1 Message Date
duianto 48d1f53630
Fix evil-matchit % jump in web mode (#14940)
problem
With the cursor on a parenthesis in js code in a .html document,
pressing:
```
%                      ;; evilmi-jump-items
```
jumps to the buffers last line.

solution from upstream issue
Jump to end when current line has a "if" keyword in web-mode and html-mode
https://github.com/redguardtoo/evil-matchit/issues/119
2021-07-22 07:45:26 +00:00
Deepu Mohan Puthrote eeb363f6e4 Add flag to enable org-brain support making it optional 2021-07-22 09:24:46 +02:00
SpacemacsBot 47f3507260 [bot] "documentation_updates" Thu Jul 22 06:21:02 UTC 2021 2021-07-21 23:22:53 -07:00
Eugene Yaremenko 77f0124a45
[doc] Remove TODOs 2021-07-21 23:19:33 -07:00
Eugene Yaremenko 7d156b1002
[doc] finish documenting CI 2021-07-21 23:12:31 -07:00
SpacemacsBot 4bcd16d6a0 [bot] "documentation_updates" Mon Jul 19 10:05:03 UTC 2021 2021-07-19 13:38:46 -07:00
Eugene Yaremenko b7e08eebcf
[docs] CI documentation. 2021-07-19 03:03:52 -07:00
Eugene Yaremenko 67bb23bc25
[docs] More on CI 2021-07-18 19:20:41 -07:00
SpacemacsBot 24b2ba86f5 [bot] "documentation_updates" Mon Jul 19 00:33:01 UTC 2021 2021-07-18 17:41:30 -07:00
Eugene Yaremenko 28a79cd960
Keep working on CI docs 2021-07-18 17:31:54 -07:00
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
SpacemacsBot 5b3786f520 [bot] "documentation_updates" Wed Jul 14 17:35:44 UTC 2021 2021-07-14 10:36:27 -07:00
Eugene Yaremenko 964faf49b1
[doc] Start documenting CI
Pretty much no one but me touches CI and that's pretty bad.
We need to reduce the bus factor.
2021-07-14 10:34:06 -07:00
JAremko a2ab0a0233 [ci] actually unmask the logs 2021-07-12 08:23:04 -07:00
JAremko 97ad6bad3f [ci] unmask hub push logs 2021-07-12 08:10:58 -07:00
JAremko af345fd4c1 [doc] fix links 2021-07-12 07:32:24 -07:00
duianto 483cdd1c0d Fix symbol highlight ts, infinite loop
problem
navigating to the next/prev symbol,
in the symbol highlight transient state: `SPC s h`
with: `n`, `N` or `p`

soft freezes Emacs (the freeze can be canceled with `C-g` twice)

cause
the upstream variable: `ahs-current-overlay` has been removed

solution
it was replaced with a function called: `ahs-current-overlay-window`
2021-07-10 15:10:43 +02:00
JAremko 40d66a725e [ci] cache deps for web export 2021-07-09 10:14:20 -07:00
SpacemacsBot 00599d3255 [bot] "built_in_updates" Thu Jul 8 12:30:53 UTC 2021 2021-07-08 10:13:57 -07:00
JAremko 8b832ecb4a [ci] move html export to CircleCI 2021-07-08 05:30:06 -07:00
madand 5c75eb4ea3 Continue fixing and refactoring integration with auto-highlight-symbol
* fix `Symbol’s function definition is void: ahs-highlight-p`
* get rid of 2 instances of `eval`
* improve advicing code with the use of `advice-add`
* eliminate 2 redundant calls to `ahs-highlight-now` in adviced functions
* eliminate redundant `spacemacs/ahs-highlight-now-wrapper`
2021-07-08 07:00:31 +02:00
Tristan Hume 820d9fb955 Finish up fixing symbol highlighting
Fixed an issue where ahs-mode was being enabled before the check for it
already being enabled.

Switched the toggle to be based on the mode instead of the timer hack.
2021-07-08 07:00:31 +02:00
duianto 1069e37a98 Fix symbol highlighting
problems:
- Symbol highlighting is enabled on startup.
- The highlight isn't cleared when closing the
Symbol Highlight Transient State
- The `SPC t h a` symbol highlight toggle,
only shows a disabled message,
but the highlighting remains enabled.

cause:
Changes in the upstream package: auto-highlight-symbol
2021-07-08 07:00:31 +02:00
SpacemacsBot d818e11529 [bot] "built_in_updates" Wed Jul 7 12:41:15 UTC 2021 2021-07-07 05:43:41 -07:00
SpacemacsBot a082ade23b [bot] "documentation_updates" Wed Jul 7 12:41:59 UTC 2021 2021-07-07 05:43:08 -07:00
JAremko 7c7843d121 [ci] fix patching 2021-07-07 05:40:23 -07:00
JAremko 04bddbb5b9 [ci] cleanup 2021-07-07 05:40:23 -07:00
JAremko daf108cb1b [ci] fix layers.org gen 2021-07-07 03:31:35 -07:00
SpacemacsBot b992ad29bb [bot] "spacemacs_built_in" Tue Jul 6 16:12:28 UTC 2021 2021-07-06 09:20:39 -07:00
JAremko f15e95e1f1 [ci] Also update built-in on branch push 2021-07-06 09:11:40 -07:00
JAremko 968713e749 [ci] refactor 2021-07-06 09:11:40 -07:00
JAremko d78d8282f5 [ci] Handle the case when everything is up to date 2021-07-05 16:47:38 -07:00
SpacemacsBot 284f56a397 [bot] "spacemacs_fix_org" Mon Jul 5 23:23:52 UTC 2021 2021-07-05 16:24:48 -07:00
JAremko a2e1c2de2e [ci] clean-up 2021-07-05 16:22:39 -07:00
JAremko 88cfc4bc67 [ci] fix ws in patches and use git apply 2021-07-05 15:47:43 -07:00
JAremko 6f8d6d5b3a [ci] Don't mask push outputs (CircleCI masks secrets anyway) 2021-07-05 15:09:53 -07:00
JAremko 34f739649c [ci] fix patch name 2021-07-05 14:36:20 -07:00
JAremko c089959754 [doc] Flatten headlines that are too deep 2021-07-05 14:30:55 -07:00
JAremko 18f6486246 [doc] Fix exwm README.org 2021-07-05 14:30:55 -07:00
JAremko aa4547086d [CI] Move documentation formatting to CircleCI 2021-07-05 14:30:55 -07:00
Ryan Prior be74dd786f
Adds function to run default shell in project root, with leader keys SPC p $ (#14856)
By using `projectile-acquire-root`, we will prompt the user for a project when
they call `spacemacs/projectile-pop-shell` outside a project directory.
2021-07-04 07:02:19 +00:00
duianto 9159393f9c
Fix exit keyword in symbol-highlight TS (#14890) 2021-07-03 16:59:23 +00:00
JAremko 63f5bc7bb9 [ci] clean-up 2021-07-03 06:49:56 -07:00
SpacemacsBot db2e6d2be4 Built-in files auto-update: Sat Jul 3 00:04:31 UTC 2021 2021-07-02 19:53:46 -07:00
SpacemacsBot 7f743c907a Built-in files auto-update: Fri Jul 2 18:04:36 UTC 2021 2021-07-02 13:59:05 -07:00
Eugene Yaremenko 2dafdb090b
[ci] set bot repo via env var 2021-07-02 08:29:43 -07:00
Eugene Yaremenko 7882913ee2
[ci] fix typo
Also move token export to the final stage
2021-07-02 01:22:56 -07:00
Eugene Yaremenko 6bd25d2abc
Fix typo 2021-07-02 01:07:31 -07:00
Eugene Yaremenko 67ba9ce3ed
[ci] Fix hub path 2021-07-01 21:57:34 -07:00
Eugene Yaremenko 736b1d98ae [ci] Reorder steps in CircleCI for built-in upd 2021-07-01 16:41:22 -07:00