Commit graph

22 commits

Author SHA1 Message Date
Henrik Lissner
3c6f48f9ec
Move evil & corrective keybinds to respective modules
Keybinds that correct behavior or provide or extend vim functionality
were moved to their respective modules, or to the :editor evil module.

Keybinds in the global space, that are particularly opinionated but
potentially harmful or imposing as a default, or likely for users to
change (like leader keys), are kept in config/default.
2019-10-26 23:44:28 -04:00
Henrik Lissner
c6121b98b5
tools/flyspell: enable flyspell-mode in text modes 2019-10-19 14:03:32 -04:00
Henrik Lissner
7c8badc8fe
tools/flycheck: speed up buffer-wide flyspell checks 2019-09-28 12:47:21 -04:00
Henrik Lissner
737407dcec
tools/flyspell: remove +flycheck-immediately #1824 2019-09-26 14:26:47 -04:00
Henrik Lissner
37739a2501
tools/flyspell: don't spellcheck org blocks 2019-07-29 03:18:38 +02:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
287e61a72c
tools/flyspell: conform to new conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
9a02bd8ac8
Minor refactors across the board
- when-let* -> when-let
- Fix projectile-locate-dominating-file for connected remote files
2019-06-26 14:31:06 +02:00
Henrik Lissner
44a5ffad66
tools/flyspell: doom-log failed to find checker
Instead of logging with message, which is more disruptive (appears in
bin/doom output, for instance).
2019-06-18 17:30:26 +02:00
Henrik Lissner
ada5990f88
tools/flyspell: demote missing program warning
Log the missing dependency rather than a disruptive pop up.
2019-06-10 09:38:56 +02:00
Henrik Lissner
10cef7a887
tools/flyspell: add +prog flag #1418
Enables flyspell-prog-mode on prog-mode-hook.
2019-05-19 02:18:25 -04:00
Henrik Lissner
f97b5b70e3
tools/flyspell: reduce english-centric defaults
Falls back to system defaults, which are a little more reliable.
2019-05-06 19:39:35 -04:00
Henrik Lissner
2c81ee4d98
tools/flyspell: minor refactor
- Allow flyspell-correct-* packages to be disabled by the end-user
  without breaking errors.
- Tie proselint detection to flycheck (which is what uses it)
2019-04-02 15:47:09 -04:00
Henrik Lissner
6a99d7840b
Correct minor typo in warning message 2019-04-02 14:04:10 -04:00
Henrik Lissner
a08e00c4d4
Refactor aspell/hunspell initialization 2019-04-02 14:03:27 -04:00
UndeadKernel
76f98043f1 flyspell: allow enabling either aspell or hunspell
* Previously, a user could not choose which spell checker to use.
  Instead, the first one found was used.
* This PR adds the flags `+aspell` and `+hunspell` which allow a user to
  choose which spellchcker to use (even if both are installed).
* Report an error if spell checking is enabled but no spell checker
  is found.
2019-03-18 15:59:55 +01:00
Henrik Lissner
b5dcfd96d3
tools/flyspell: new flyspell-mode! autodef 2019-03-04 04:57:07 -05:00
Henrik Lissner
7c9e96da87
General module refactor 2019-03-02 02:04:11 -05:00
Henrik Lissner
594df64913
Smarter RET in normal mode over flyspell regions
Will now trigger flyspell-correct-word-generic
2019-02-26 16:55:29 -05:00
Henrik Lissner
db2949ff32
Improve flyspell support
+ Make flyspell more selective about what to scan in markdown buffers.
+ Don't mark duplicates when proseline or langtool are present.
+ Add set-flyspell-predicate! for seeing mode-specific word predicates.
2019-02-26 16:55:28 -05:00
Henrik Lissner
69ed1a4a99
feature/{syntax-checker,spellcheck} -> tools/fly{check,spell} 2019-02-22 00:25:30 -05:00