Commit Graph

82 Commits

Author SHA1 Message Date
SpacemacsBot 598065e6bd
[bot] documentation_updates (#15645)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-07-15 08:08:46 +00:00
Lucius Hu 7b7b7e7b6b
fixup! syntax-checking: Improved documentation and clean-ups 2022-07-15 01:26:36 -04:00
Lucius Hu e13c5c7147
syntax-checking: Improved documentation and clean-ups 2022-07-14 23:26:24 -04:00
Lucius Hu 67bb7e69ec
syntax-checking: improved layer documentation
This commit contains adjustment to layer documentatin.

Specifically it added more information on key bindings in
`flycheck-error-list-mode` and adjusted the order of a few sections.
2022-07-14 04:17:45 -04:00
Lucius Hu 5ce944a1da
syntax-highlighting: improved docs on pop window configuratin
This commit improved both the layer documentation of pop window configuration
and docstring of relavant layer variables.
2022-07-14 03:53:10 -04:00
Lucius Hu 016e2638f0
syntax-highlighting: changed flycheck-error-list-mode keymap
- Removed redundant keybinding for `RET`, which is already defined in
`flycheck`.
- Added two keybindings to move the focus to next/previous line without also
viewing the corresponding error in the other window.
2022-07-14 03:31:59 -04:00
Lucius Hu 5d3820a1e5
syntax-checking: fixed flycheck error list popwin config
Due to an error of argument order, `syntax-checking--buffer-config` was not
declared correctly and the setting is not respected by `popwin`.

This commit fixed that.
2022-07-14 03:29:35 -04:00
Lucius Hu 57d7cfee5c
syntax-checking: added support for margin indicator
Before this commit, users are not informed of the option to use margins, in
addition to fringes, to display flycheck indicators. This commit provides
clearer information on customizing this. Specifically:

- Added instruction on how to change the location of flycheck indicator.
- Added a new layer variable `syntax-checking-indication-symbol` which allows
  customization for symbol used for flycheck indication.
- Deprecated the layer variable `syntax-checking-use-original-bitmaps` in favour
  of `syntax-checking-indication-symbol`, because the latter allows a finer
  control of both fringe bitmap and margin string.
2022-07-14 02:08:01 -04:00
Lucius Hu 09698dc8fa
syntax-checking: add binding for `flycheck-disable-checker` 2022-07-13 18:12:01 -04:00
Lucius Hu 4636672203
syntax-checking: prevent changing window when quitting error list
When toggling off flycheck's error list window, it calls `quit-window` which
might also change the focus to another window.

Wrapping this form `save-selected-window` ensures the focus always returns to
where toggling command is first invoked.
2022-07-13 17:39:40 -04:00
Thanh Vuong d059c4c0b2 [evil] bring back vi-tilde-fringe
https://github.com/syl20bnr/spacemacs/issues/15622
Revert "Delete vim-empty-lines layer and merge its code into spacemacs-evil"

This reverts commit ebd920e23a.
2022-07-01 16:05:23 +02:00
Ray Wang ebd920e23a
Delete vim-empty-lines layer and merge its code into spacemacs-evil
1. Delete vim-empty-lines layer and merge its code into spacemacs-evil
2. Remove unused function from spacemacs-evil/funcs.el
3. Add variable dotspacemacs-evil-show-empty-line-indicators to toggle vim-empty-lines-mode
4. Update related documents
5. Compatibilities
2022-06-19 20:25:37 +02:00
SpacemacsBot 44a032b615 [bot] "documentation_updates" Sat Jun 11 11:42:05 UTC 2022 2022-06-11 13:47:31 +02:00
Maxi Wolff 02c667e8d8
[syntax-checking] Revise layer
Change variable declarations to standard config variables.
Change default size to relative values to be less independent
on specific screen sizes.
Improve general documentation of config choices.
2022-06-11 13:36:56 +02:00
Lana Black 46d15dc367
Allow setting flycheck buffer location on screen. 2022-06-11 12:58:26 +02:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
Lucius Hu fd652fae0c
update spacemacs/declare-prefix usages (#15278)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-04 05:36:11 +00:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Tim Ruffing f0256b7eca Fix typo in spell-checking docs 2020-12-26 14:44:21 +01:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
emacspace 0fda75c688 documentation formatting: Fri Aug 28 21:26:14 UTC 2020 2020-08-28 23:41:29 +02:00
Martin Sosic 7732fcabd8 Add syntax-checking-auto-hide-tooltips variable to syntax-checking layer. 2020-08-26 22:24:37 +02:00
Benjamin Yang 39de9ff0af [spell-checking] Add keybinding for flyspell-region
For those times when just a comment needs to be spellchecked, `flyspell-region`
should have its own keybinding.
2020-07-16 10:46:36 +02:00
Maximilian Wolff b82bc40b3c
Fix ignored popwin declarations
Popwin automatically configures pupo purposes
if properly configured. While I was checking
the existing configs I have found that the
settings will be ignored if the config is not
done via a post-config hook.

A quick search revealed a lot of popwin configs
which never had any effect.

This commit fixes these and with this also
restores the missing pupo configs.
2020-07-03 21:51:33 +02:00
Maximilian Wolff 74735b41a8
[syntax-checking] Document activation of traditional error navigation 2020-06-07 23:05:07 +02:00
Michael Hauser-Raspe bc879daeee Allow config syntatx-checking-use-standard-error-navigation. 2020-06-07 22:44:08 +02:00
Maximilian Wolff f4f95d28fb
[syntax-checking] Add warning against using `(global-flycheck-mode)` 2020-02-02 00:57:39 +01:00
Thanh Vuong bd6d4c27fd fix #12554 goto-flycheck-error-list 2019-07-24 14:17:53 +02:00
John Stevenson 218eb955ef Add keybinding for flyspell-correct-at-point
Add a keybinding to provide a simple way to correct the spelling of a word at
the current point.  This enables fixing the spelling mistake as it happens with
low ceremony.
2019-06-12 23:44:41 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Kalle Lindqvist 367f5ff28c spell-checking: add words to dictionary functionality
When writing documents in latex or any markup language there is soon or later
going to be unrecognized words that get falsely flagged as incorrect. These
functions and key-bindings allows the user to add unrecognized words to the
dictionary so they are recognized as correctly spelled words by ispell/flyspell.
This seem's like a must have feature for any application that does any kind of
spell checking.

Added key bindings:
SPC S a b for Add word to dict (buffer)
SPC S a g for Add word to dict (global)
SPC S a s for Add word to dict (session)

Spell Checking Transient State:
SPC S . B for Add word to dict (buffer)
SPC S . G for Add word to dict (global)
SPC S . S for Add word to dict (session)
2019-05-19 22:09:20 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
Bruno Tavares 3d11456f51 Fix flyspell correction on spell-checking layer
Using the `spell-checking` layer mini-mode `Space S .` would cause an error

```
Wrong type argument: commandp -- flyspell-correct-previous-word-generic
```

According to the [README](https://github.com/d12frosted/flyspell-correct#deprecations-in-v05), it has since moved the command to a new name, which is not available anymore.

This commit changes the command used to point to the new name to make the transient mode work again.
2019-04-29 14:48:09 +02:00
Florian Czarnecki f16a7bf8be Fix typo in spell-checking layer documentation
Change "compeled" to "compelled"
2019-04-06 10:01:45 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Boris Buliga 39e4f1ab7c
update to flyspell-correct v0.5
`flyspell-correct-word-generic` and `flyspell-correct-previous-word-generic` are
deprecated and replaced by `flyspell-correct-at-point` and
`flyspell-correct-wrapper` respectively.

`flyspell-correct-wrapper` has a so-called 'rapid' mode, where you can correct
multiple words in a single run.
2018-10-05 09:38:59 +03:00
Alexander Eberspächer fb078f724e Fix keybindings in documentation of spell checking transient state 2018-09-03 20:15:33 +01:00
Francesc Elies Henar c57dd4870a Adds spell checking transient state 2018-09-01 00:19:59 +03:00
smile13241324 252c94a1ce doc: revise docs for auto-complete and syntax-checking layers
Syntax-checking and auto-complete layers should more
directly communicate that their function depends on
the installation of individual language layers to avoid
misunderstandings with new users who only install
syntax-checking or auto-complete and install the packages
manually.
2018-08-15 22:15:45 +01:00
Francesc Elies Henar 8bb1cee649 [flycheck] binds flycheck-copy-errors-as-kill to `SPC e y` 2018-07-27 00:46:47 +03:00
syl20bnr 19b478efbd Lazy load flycheck 2018-06-11 02:14:12 -04:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
smile13241324 82b6ee3498 Fix doc for spell-checking and ansible layer 2018-02-17 17:30:44 +02:00
Adam Kruszewski e11f7badc4 Added known-issues, features and multi-dict sections.
Added:
 - Information about incompatibility of vim-empty-lines and spell-checking
inside org-mode.
 - Features section to Description section (to comply with standard).
 - Section how to enable multi-dictionary for hunspell.
2018-01-18 01:22:21 -05:00
Alexander Miller eae6497b02 syntax-check: use correct error list faces when defining error levels with custom bitmaps. 2018-01-14 23:31:19 -05:00