Commit Graph

27 Commits

Author SHA1 Message Date
Henrik Lissner
037b018cdd feat: add .doommodule files
These optional dotfiles indicate the root of a module or module
group (:lang), and will later contain module metadata. They will also
serve as an alternative to packages.el and doctor.el, and will aide the
parts of the v3.0 module API concerned with resolving the current module
from a path (`doom-module-from-path`), which currently rely too heavily
on parsing path strings.

For now, however, they're simply placeholders.
2024-09-14 20:47:39 -04:00
Henrik Lissner
659f7bfc71 refactor!: deprecate IS-* OS constants
BREAKING CHANGE: This deprecates the IS-(MAC|WINDOWS|LINUX|BSD) family
of global constants in favor of a native `featurep` check:

  IS-MAC      ->  (featurep :system 'macos)
  IS-WINDOWS  ->  (featurep :system 'windows)
  IS-LINUX    ->  (featurep :system 'linux)
  IS-BSD      ->  (featurep :system 'bsd)

The constants will stick around until the v3 release so folks can still
use it -- and there are still some modules that use it, but I'll phase
those uses out gradually.

Fix: #7479
2024-02-04 17:54:29 -05:00
Henrik Lissner
d55b078fa1 bump: :checkers
alexmurray/flycheck-posframe@8f60c9bf12 -> alexmurray/flycheck-posframe@19896b922c
bnbeckwith/writegood-mode@ed42d918d9 -> bnbeckwith/writegood-mode@d54eadeedb
d12frosted/flyspell-correct@7d7b6b0118 -> d12frosted/flyspell-correct@1e7a5a5636
flycheck/flycheck@784f184cdd -> flycheck/flycheck@e56e30d8c6
ideasman42/emacs-spell-fu@aed6e87aa3 -> ideasman42/emacs-spell-fu@e403193580
mhayashi1120/Emacs-langtool@8276eccc55 -> mhayashi1120/Emacs-langtool@d86101eafe
2023-11-29 23:14:10 -05:00
Henrik Lissner
88bb045388 docs(*): replace all-the-icons with nerd-icons
Also colorizes the leading icon in notices.
2023-09-16 20:19:11 +02:00
Henrik Lissner
7cc946a74b docs(grammar): document nixpkgs.languagetool
Close: #6959
Co-authored-by: venikx <venikx@users.noreply.github.com>
2023-02-23 01:34:55 -05:00
Henrik Lissner
552278655e fix(grammar): look for languagetool-commandline executable
nixpkgs.languagetool names its executable languagetool-commandline.

Ref: https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/tools/text/languagetool/default.nix#L20
Close: #6959
Co-authored-by: venikx <venikx@users.noreply.github.com>
2023-02-23 01:34:55 -05:00
TEC
5ac2a5258b docs: change link format 2022-10-05 01:01:19 +02:00
Haisheng
57e99650d3 fix(grammar): use languagetool in $PATH, if available 2022-10-03 18:33:28 +02:00
Henrik Lissner
1abcf913aa revert: fix(docs): set mode in file-local vars
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab.

emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.

Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
Henrik Lissner
1f8bf7accb merge: rewrite-docs
I've omitted docs/*.org from this merge, as there is still work left to
do there, but I am pushing the module docs early so folks can benefit
from the new docs sooner.
2022-08-03 03:27:50 +02:00
Henrik Lissner
7e400abdc0 fix(docs): set mode in file-local vars
Due to emacs-straight/org-mode@e22b4eb, a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.

Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
Henrik Lissner
1255315bfc refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is
active), a literal header is unnecessary.
2022-08-02 19:37:07 +02:00
Henrik Lissner
e77a45bc22 docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
Henrik Lissner
7246db457c docs: replace doom-source with doom-repo links
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Dominik Schrempf
af7c1d79bd fix(grammar): writegood-mode in LaTeX-mode
Did I already mention that this `latex-mode` slash `LaTeX-mode`
ambiguity was a reeeeeeally bad decision upstream? Anyways, this very
small PR also loads `writegood-mode` with AucTeX, which uses
`LaTeX-mode`, and not `latex-mode`.
2021-12-18 01:13:37 +01:00
Henrik Lissner
88844e9cec docs: simplify internal docs links
Fewer links means less confusion.

- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
  Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
b898fbe303 docs(:checkers): update READMEs to new format 2021-11-21 20:04:28 +01:00
Henrik Lissner
9df3072e94 Bump :checkers
bnbeckwith/writegood-mode@b71757e -> bnbeckwith/writegood-mode@ed42d91
d12frosted/flyspell-correct@d19a090 -> d12frosted/flyspell-correct@4042336
flycheck/flycheck@f8c679f -> flycheck/flycheck@21d5226
ideasman42/emacs-spell-fu@30c5eea -> ideasman42/emacs-spell-fu@1abcb55
2021-07-09 17:42:18 -04:00
Kirill A. Korinsky
312ae37d91 grammar: macports compatibility
Macports is quite popular a way to install some application to macOS and
it is shame that it doesn't support such way by default.
2020-12-01 16:24:33 +01:00
Henrik Lissner
2c435a04cf Bump :checkers
d12frosted/flyspell-correct@fd8ac7a -> d12frosted/flyspell-correct@dea1290
flycheck/flycheck@246e1d4 -> flycheck/flycheck@c02cd77
mhayashi1120/Emacs-langtool@a71ed02 -> mhayashi1120/Emacs-langtool@8276ecc
2020-07-23 01:31:36 -04:00
Henrik Lissner
8b5525049d Bump :checkers
d12frosted/flyspell-correct@e765d1a -> d12frosted/flyspell-correct@fd8ac7a
flycheck/flycheck@f19a51c -> flycheck/flycheck@246e1d4

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:28:02 -04:00
James Ravn
d95d63da93 Fix langtool config for Linux
Fixes https://github.com/hlissner/doom-emacs/issues/2072.

I have left the mac portion alone as I don't have a mac handy to test this.
2020-04-28 11:22:43 +01:00
Peter Hoeg
cfc66b9b10 grammar/langtool: support setting the path to the binary i/o jar 2020-03-31 10:15:38 +08:00
Henrik Lissner
a9402cfb55 Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
dc2b9781ab Minor refactors & reformatting 2020-01-20 01:55:31 -05:00
Henrik Lissner
4cc14389e8 PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
a680a4c96d Replace :app write with :checkers grammar 2020-01-09 16:43:03 -05:00