[bot] documentation_updates (#15645)

Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
This commit is contained in:
SpacemacsBot 2022-07-15 11:08:46 +03:00 committed by GitHub
parent a6ae2f6a7c
commit 598065e6bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 18 deletions

View File

@ -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=.

View File

@ -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.
@ -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
@ -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

View File

@ -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