Skip to content

Commit

Permalink
[bot] documentation_updates (syl20bnr#15645)
Browse files Browse the repository at this point in the history
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
  • Loading branch information
SpacemacsBot and SpacemacsBot committed Jul 15, 2022
1 parent a6ae2f6 commit 598065e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion layers/+checkers/syntax-checking/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ displayed on the fringe to indicate an error. (A bitmap is a string or a vector
of bits, see =define-fringe-bitmap= for details.) The default fringe bitmap in
Spacemacs is a small solid circle.

If =flycheck-indication-mode= is to =left-margin= or =right-margin=, a string
If =flycheck-indication-mode= is to =left-margin= or =right-margin=, a string
displayed on the fringe to indicate an error. Spacemacs doesn't change the
margin string so the default value is defined in =flycheck=.

Expand Down
27 changes: 13 additions & 14 deletions layers/+misc/nav-flash/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ To use this configuration layer, add =nav-flash= to the existing
* Customization
** Custom Trigger of =nav-flash=
=nav-flash= layer works around the following functions:

- =nav-flash/blink-cursor-maybe= blinks the line containing the point unless
current major mode or current command is excluded, or if =so-long-minor-mode=
is on.
Expand All @@ -41,16 +40,16 @@ They are added to [[https://www.gnu.org/software/emacs/manual/html_node/elisp/Ho
=nav-flash= in more context viaa =dotspacemacs/user-config=, for example:

#+BEGIN_SRC emacs-lisp
;; blink after triggering evil-window-left/right/up/down
(advice-add #'evil-window-left :after #'nav-flash/blink-cursor-maybe)
(advice-add #'evil-window-right :after #'nav-flash/blink-cursor-maybe)
(advice-add #'evil-window-up :after #'nav-flash/blink-cursor-maybe)
(advice-add #'evil-window-down :after #'nav-flash/blink-cursor-maybe)
;; blink after triggering evil-window-left/right/up/down
(advice-add #'evil-window-left :after #'nav-flash/blink-cursor-maybe)
(advice-add #'evil-window-right :after #'nav-flash/blink-cursor-maybe)
(advice-add #'evil-window-up :after #'nav-flash/blink-cursor-maybe)
(advice-add #'evil-window-down :after #'nav-flash/blink-cursor-maybe)

;; blink after a delay in after projectile-switch-project
(spacemacs/add-to-hooks #'nav-flash/delayed-blink-cursor-h
'(projectile-after-switch-project-hook)
t)
;; blink after a delay in after projectile-switch-project
(spacemacs/add-to-hooks #'nav-flash/delayed-blink-cursor-h
'(projectile-after-switch-project-hook)
t)
#+END_SRC

** Exclusion Rules
Expand All @@ -60,8 +59,8 @@ the command or the major mode is excluded, which can be customized via variables
=dotspacemacs/user-config=. For example,

#+BEGIN_SRC emacs-lisp
;; don't trigger in dired-mode
(add-to-list 'nav-flash-exclude-modes 'dired-mode )
;; don't trigger for spacemacs/alternate-buffer (SPC TAB)
(add-to-list 'nav-flash-exclude-commands 'spacemacs/alternate-buffer)
;; don't trigger in dired-mode
(add-to-list 'nav-flash-exclude-modes 'dired-mode )
;; don't trigger for spacemacs/alternate-buffer (SPC TAB)
(add-to-list 'nav-flash-exclude-commands 'spacemacs/alternate-buffer)
#+END_SRC
6 changes: 3 additions & 3 deletions layers/LAYERS.org
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,11 @@ Features:
** Syntax Checking
[[file:+checkers/syntax-checking/README.org][+checkers/syntax-checking/README.org]]

This layer adds on the fly syntax checking to all supported language layers.
This layer adds on-the-fly syntax checking to all supported language layers.

Features:
- Support for automatic syntax checking with [[http://www.flycheck.org/][Flycheck]] for various language layers
- Tooltip syntax errors with =popwin=
- Automatic syntax checking with [[http://www.flycheck.org/][Flycheck]] for various language layers.
- Shows syntax error in pop-up window via [[https://github.com/flycheck/flycheck-pos-tip][flycheck-pos-tip]].

* Completion
** Auto-completion
Expand Down

0 comments on commit 598065e

Please sign in to comment.